#232F8B#232F8B

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

Color values

HEX#232F8B
RGBrgb(35, 47, 139)
HSLhsl(233, 60%, 34%)
HSVhsv(233, 75%, 55%)
CMYKcmyk(74.8%, 66.2%, 0%, 45.5%)
CIE-LABlab(24.49, 28.54, -52.50)
CIE-LCHlch(24.49, 59.75, 298.53°)
OKLaboklab(36.05% 0.002 -0.1517)
OKLCHoklch(36.05% 0.152 270.7)
XYZxyz(6.3683, 4.2538, 24.9065)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F8B #8B7F23
analogous
#23638B #232F8B #4B238B
triadic
#232F8B #8B232F #2F8B23
tetradic
#232F8B #8B2363 #8B7F23 #238B4B
square
#232F8B #8B2363 #8B7F23 #238B4B
split-complementary
#232F8B #8B4B23 #638B23
monochromatic
#0A0E29 #171E5A #232F8B #2F40BC #5463D4

Accessibility & contrast

On white

11.35
#232F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#232F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F8B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F8B#FFFFFF#000000##FFFFFF
##232F8B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232f8b;
/* rgb */ color: rgb(35, 47, 139);
/* oklch */ color: oklch(36.0% 0.152 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e67ae',
    500: '#232f8b',
    950: '#000000',
  },
}
SCSS
$custom: #232f8b;
$custom-light: #6e67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#232f8b",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 233.077,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36049,
    "c": 0.15175,
    "h": 270.7
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#232F8B
secondary
#B8AC52
accent
#D145E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #232F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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