#4258CE#4258CE

#4258CE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.183 H 270.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4258CE
RGBrgb(66, 88, 206)
HSLhsl(231, 59%, 53%)
HSVhsv(231, 68%, 81%)
CMYKcmyk(68%, 57.3%, 0%, 19.2%)
CIE-LABlab(42.14, 30.40, -63.65)
CIE-LCHlch(42.14, 70.54, 295.53°)
OKLaboklab(51.29% 0.0018 -0.1833)
OKLCHoklch(51.29% 0.183 270.6)
XYZxyz(16.8733, 12.5923, 59.9219)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258CE #CEB842
analogous
#429ECE #4258CE #7242CE
triadic
#4258CE #CE4258 #58CE42
tetradic
#4258CE #CE429E #CEB842 #42CE72
square
#4258CE #CE429E #CEB842 #42CE72
split-complementary
#4258CE #CE7242 #9ECE42
monochromatic
#1F2D77 #2B3FA7 #4258CE #7383DB #A3AEE7

Accessibility & contrast

On white

5.97
#4258CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4258CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258CE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258CE#FFFFFF#000000##FFFFFF
##4258CE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4258ce;
/* rgb */ color: rgb(66, 88, 206);
/* oklch */ color: oklch(51.3% 0.183 270.6);
Tailwind
colors: {
  custom: {
    50: '#8786de',
    500: '#4258ce',
    950: '#000000',
  },
}
SCSS
$custom: #4258ce;
$custom-light: #8786de;
$custom-dark: #000000;
JSON
{
  "hex": "#4258ce",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 230.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.18335,
    "h": 270.6
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#4258CE
secondary
#D4CB98
accent
#C946E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4258CE

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

Preview Lab → · Contrast checker → · Palette generator →

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