#4258C9#4258C9

#4258C9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.177 H 270.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4258C9
RGBrgb(66, 88, 201)
HSLhsl(230, 56%, 52%)
HSVhsv(230, 67%, 79%)
CMYKcmyk(67.2%, 56.2%, 0%, 21.2%)
CIE-LABlab(41.77, 28.64, -61.37)
CIE-LCHlch(41.77, 67.72, 295.01°)
OKLaboklab(50.9% 0.0016 -0.1766)
OKLCHoklch(50.9% 0.177 270.5)
XYZxyz(16.2755, 12.3532, 56.7737)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258C9 #C9B342
analogous
#429CC9 #4258C9 #6F42C9
triadic
#4258C9 #C94258 #58C942
tetradic
#4258C9 #C9429C #C9B342 #42C96F
square
#4258C9 #C9429C #C9B342 #42C96F
split-complementary
#4258C9 #C96F42 #9CC942
monochromatic
#202D70 #2E40A0 #4258C9 #7282D7 #A1ACE4

Accessibility & contrast

On white

6.05
#4258C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4258C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258C9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258C9#FFFFFF#000000##FFFFFF
##4258C91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4258c9;
/* rgb */ color: rgb(66, 88, 201);
/* oklch */ color: oklch(50.9% 0.177 270.5);
Tailwind
colors: {
  custom: {
    50: '#8686da',
    500: '#4258c9',
    950: '#000000',
  },
}
SCSS
$custom: #4258c9;
$custom-light: #8686da;
$custom-dark: #000000;
JSON
{
  "hex": "#4258c9",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 201
  },
  "hsl": {
    "h": 230.222,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.17663,
    "h": 270.5
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#4258C9
secondary
#D1C796
accent
#C649DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4258C9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4258C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva