#5A67F2

A color in the Blue, Sky, Navy family

#5a67f2 is a color in the Blue, Sky, Navy family: RGB(90, 103, 242), HSL(235°, 85%, 65%), CMYK(63%, 57%, 0%, 5%). Closest named color: royalblue. Contrast is 4.51:1 on white and 4.66:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5a67f2
RGBrgb(90 103 242)
RGB (legacy)rgb(90, 103, 242)
RGB %rgb(35% 40% 95%)
HSLhsl(235 85% 65%)
HSV / HSBhsv(235, 63%, 95%)
HWBhwb(235 35% 5%)
CMYKcmyk(63%, 57%, 0%, 5%)
CIELAB (D50)lab(48.74 28.26 -72.97)
LCHlch(48.74 78.25 291.17)
OKLaboklab(0.5822 0.0145 -0.2057)
OKLCHoklch(0.5822 0.2062 274.03)
Decimal5924850

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 3.9
Closest web-safe color#6666ff
Hue235°
Saturation (HSL / HSV)85% / 63%
Lightness (HSL)65%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)45% / 43%
Relative luminance (WCAG)0.1828
Red / Green / Blue90 / 103 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.66:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.9 / -30.8 · As background with white / black text: Lc -76.3 / 33.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #5a67f2;
  --color-brand-oklch: oklch(58.22% 0.2062 274.03);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(90 103 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5a67f2] text-[#5a67f2] border-[#5a67f2]">