#4258CC#4258CC

#4258CC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.181 H 270.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4258CC
RGBrgb(66, 88, 204)
HSLhsl(230, 58%, 53%)
HSVhsv(230, 68%, 80%)
CMYKcmyk(67.6%, 56.9%, 0%, 20%)
CIE-LABlab(41.99, 29.69, -62.74)
CIE-LCHlch(41.99, 69.41, 295.33°)
OKLaboklab(51.14% 0.0017 -0.1807)
OKLCHoklch(51.14% 0.181 270.5)
XYZxyz(16.6319, 12.4958, 58.6505)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258CC #CCB642
analogous
#429DCC #4258CC #7142CC
triadic
#4258CC #CC4258 #58CC42
tetradic
#4258CC #CC429D #CCB642 #42CC71
square
#4258CC #CC429D #CCB642 #42CC71
split-complementary
#4258CC #CC7142 #9DCC42
monochromatic
#1F2D74 #2C40A4 #4258CC #7283D9 #A2ADE6

Accessibility & contrast

On white

6.00
#4258CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4258CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258CC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258CC#FFFFFF#000000##FFFFFF
##4258CC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4258cc;
/* rgb */ color: rgb(66, 88, 204);
/* oklch */ color: oklch(51.1% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#8686dc',
    500: '#4258cc',
    950: '#000000',
  },
}
SCSS
$custom: #4258cc;
$custom-light: #8686dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4258cc",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 230.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.18067,
    "h": 270.5
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#4258CC
secondary
#D3C997
accent
#C847E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4258CC

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

Preview Lab → · Contrast checker → · Palette generator →

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