#232F8D#232F8D

#232F8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.154 H 270.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#232F8D
RGBrgb(35, 47, 141)
HSLhsl(233, 60%, 35%)
HSVhsv(233, 75%, 55%)
CMYKcmyk(75.2%, 66.7%, 0%, 44.7%)
CIE-LABlab(24.68, 29.29, -53.44)
CIE-LCHlch(24.68, 60.94, 298.73°)
OKLaboklab(36.24% 0.0019 -0.1545)
OKLCHoklch(36.24% 0.155 270.7)
XYZxyz(6.5157, 4.3128, 25.6832)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F8D #8D8123
analogous
#23648D #232F8D #4C238D
triadic
#232F8D #8D232F #2F8D23
tetradic
#232F8D #8D2364 #8D8123 #238D4C
square
#232F8D #8D2364 #8D8123 #238D4C
split-complementary
#232F8D #8D4C23 #648D23
monochromatic
#0B0E2B #171F5C #232F8D #2F3FBE #5564D5

Accessibility & contrast

On white

11.27
#232F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#232F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F8D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F8D#FFFFFF#000000##FFFFFF
##232F8D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #232f8d;
/* rgb */ color: rgb(35, 47, 141);
/* oklch */ color: oklch(36.2% 0.154 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f67af',
    500: '#232f8d',
    950: '#000000',
  },
}
SCSS
$custom: #232f8d;
$custom-light: #6f67af;
$custom-dark: #000000;
JSON
{
  "hex": "#232f8d",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 233.208,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.1545,
    "h": 270.7
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#232F8D
secondary
#B9AD53
accent
#D144E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #232F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#232F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva