#232B7F#232B7F

#232B7F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.140 H 272.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#232B7F
RGBrgb(35, 43, 127)
HSLhsl(235, 57%, 32%)
HSVhsv(235, 72%, 50%)
CMYKcmyk(72.4%, 66.1%, 0%, 50.2%)
CIE-LABlab(22.36, 26.70, -48.47)
CIE-LCHlch(22.36, 55.33, 298.85°)
OKLaboklab(34.14% 0.0056 -0.14)
OKLCHoklch(34.14% 0.14 272.3)
XYZxyz(5.3865, 3.6169, 20.4888)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B7F #7F7723
analogous
#23597F #232B7F #49237F
triadic
#232B7F #7F232B #2B7F23
tetradic
#232B7F #7F2359 #7F7723 #237F49
square
#232B7F #7F2359 #7F7723 #237F49
split-complementary
#232B7F #7F4923 #597F23
monochromatic
#090B1F #161B4F #232B7F #303BAF #4E59CE

Accessibility & contrast

On white

12.19
#232B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#232B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232B7F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B7F#FFFFFF#000000##FFFFFF
##232B7F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232b7f;
/* rgb */ color: rgb(35, 43, 127);
/* oklch */ color: oklch(34.1% 0.140 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c64a5',
    500: '#232b7f',
    950: '#000000',
  },
}
SCSS
$custom: #232b7f;
$custom-light: #6c64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#232b7f",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 234.783,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.14007,
    "h": 272.3
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#232B7F
secondary
#B1A94C
accent
#D348E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #232B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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