#4230CD#4230CD

#4230CD is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.9% C 0.226 H 277.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4230CD
RGBrgb(66, 48, 205)
HSLhsl(247, 62%, 50%)
HSVhsv(247, 77%, 80%)
CMYKcmyk(67.8%, 76.6%, 0%, 19.6%)
CIE-LABlab(33.30, 53.53, -77.56)
CIE-LCHlch(33.30, 94.24, 304.61°)
OKLaboklab(44.86% 0.0287 -0.2241)
OKLCHoklch(44.86% 0.226 277.3)
XYZxyz(14.3196, 7.6787, 58.4733)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230CD #BBCD30
analogous
#306DCD #4230CD #9130CD
triadic
#4230CD #CD4230 #30CD42
tetradic
#4230CD #CD306D #BBCD30 #30CD91
square
#4230CD #CD306D #BBCD30 #30CD91
split-complementary
#4230CD #CD9130 #6DCD30
monochromatic
#22196A #32249B #4230CD #6E60DA #9C92E5

Accessibility & contrast

On white

8.28
#4230CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4230CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4230CD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4230CD#FFFFFF#000000##FFFFFF
##4230CD1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D1
Deuteranopia (green-blind)
#0048CA
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4230cd;
/* rgb */ color: rgb(66, 48, 205);
/* oklch */ color: oklch(44.9% 0.226 277.3);
Tailwind
colors: {
  custom: {
    50: '#8a6cde',
    500: '#4230cd',
    950: '#000000',
  },
}
SCSS
$custom: #4230cd;
$custom-light: #8a6cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4230cd",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 205
  },
  "hsl": {
    "h": 246.879,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.22594,
    "h": 277.3
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4230CD

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

Preview Lab → · Contrast checker → · Palette generator →

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