#4230CE#4230CE

#4230CE is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 45.0% C 0.227 H 277.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4230CE
RGBrgb(66, 48, 206)
HSLhsl(247, 62%, 50%)
HSVhsv(247, 77%, 81%)
CMYKcmyk(68%, 76.7%, 0%, 19.2%)
CIE-LABlab(33.41, 53.84, -77.97)
CIE-LCHlch(33.41, 94.75, 304.62°)
OKLaboklab(44.96% 0.0285 -0.2253)
OKLCHoklch(44.96% 0.227 277.2)
XYZxyz(14.4407, 7.7271, 59.1110)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230CE #BCCE30
analogous
#306DCE #4230CE #9130CE
triadic
#4230CE #CE4230 #30CE42
tetradic
#4230CE #CE306D #BCCE30 #30CE91
square
#4230CE #CE306D #BCCE30 #30CE91
split-complementary
#4230CE #CE9130 #6DCE30
monochromatic
#22196B #32249C #4230CE #6F61DA #9C93E6

Accessibility & contrast

On white

8.25
#4230CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4230CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230CE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230CE#FFFFFF#000000##FFFFFF
##4230CE1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0048CB
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4230ce;
/* rgb */ color: rgb(66, 48, 206);
/* oklch */ color: oklch(45.0% 0.227 277.2);
Tailwind
colors: {
  custom: {
    50: '#8a6cde',
    500: '#4230ce',
    950: '#000000',
  },
}
SCSS
$custom: #4230ce;
$custom-light: #8a6cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4230ce",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 246.835,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44959,
    "c": 0.22709,
    "h": 277.2
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#4230CE
secondary
#C9D189
accent
#E543D3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4230CE

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

Preview Lab → · Contrast checker → · Palette generator →

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