#232B7E#232B7E

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

Color values

HEX#232B7E
RGBrgb(35, 43, 126)
HSLhsl(235, 57%, 32%)
HSVhsv(235, 72%, 49%)
CMYKcmyk(72.2%, 65.9%, 0%, 50.6%)
CIE-LABlab(22.27, 26.32, -47.98)
CIE-LCHlch(22.27, 54.73, 298.75°)
OKLaboklab(34.05% 0.0057 -0.1385)
OKLCHoklch(34.05% 0.139 272.3)
XYZxyz(5.3216, 3.5909, 20.1473)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B7E #7E7623
analogous
#23597E #232B7E #49237E
triadic
#232B7E #7E232B #2B7E23
tetradic
#232B7E #7E2359 #7E7623 #237E49
square
#232B7E #7E2359 #7E7623 #237E49
split-complementary
#232B7E #7E4923 #597E23
monochromatic
#080A1E #161B4E #232B7E #303BAE #4E59CE

Accessibility & contrast

On white

12.22
#232B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232B7E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B7E#FFFFFF#000000##FFFFFF
##232B7E1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232b7e;
/* rgb */ color: rgb(35, 43, 126);
/* oklch */ color: oklch(34.0% 0.139 272.3);
Tailwind
colors: {
  custom: {
    50: '#6b64a4',
    500: '#232b7e',
    950: '#000000',
  },
}
SCSS
$custom: #232b7e;
$custom-light: #6b64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#232b7e",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 234.725,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34049,
    "c": 0.13867,
    "h": 272.3
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#232B7E
secondary
#B0A84C
accent
#D248E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #232B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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