#4230AA#4230AA

#4230AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.184 H 281.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4230AA
RGBrgb(66, 48, 170)
HSLhsl(249, 56%, 43%)
HSVhsv(249, 72%, 67%)
CMYKcmyk(61.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(29.85, 42.73, -62.57)
CIE-LCHlch(29.85, 75.77, 304.33°)
OKLaboklab(41.37% 0.0365 -0.1804)
OKLCHoklch(41.37% 0.184 281.4)
XYZxyz(10.5571, 6.1737, 38.6577)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4230AA #98AA30
analogous
#305BAA #4230AA #7F30AA
triadic
#4230AA #AA4230 #30AA42
tetradic
#4230AA #AA305B #98AA30 #30AA7F
square
#4230AA #AA305B #98AA30 #30AA7F
split-complementary
#4230AA #AA7F30 #5BAA30
monochromatic
#1D154B #2F237A #4230AA #5E4BCC #897BDA

Accessibility & contrast

On white

9.40
#4230AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4230AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4230AA#FFFFFF#000000##FFFFFF
##4230AA1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4230aa;
/* rgb */ color: rgb(66, 48, 170);
/* oklch */ color: oklch(41.4% 0.184 281.4);
Tailwind
colors: {
  custom: {
    50: '#836ac4',
    500: '#4230aa',
    950: '#000000',
  },
}
SCSS
$custom: #4230aa;
$custom-light: #836ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4230aa",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 248.852,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.18402,
    "h": 281.4
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#4230AA
secondary
#B7C274
accent
#DF49C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4230AA

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

Preview Lab → · Contrast checker → · Palette generator →

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