#232E71#232E71

#232E71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.116 H 271.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#232E71
RGBrgb(35, 46, 113)
HSLhsl(232, 53%, 29%)
HSVhsv(232, 69%, 44%)
CMYKcmyk(69%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.96, 19.27, -40.21)
CIE-LCHlch(21.96, 44.59, 295.60°)
OKLaboklab(33.47% 0.0033 -0.1157)
OKLCHoklch(33.47% 0.116 271.6)
XYZxyz(4.6498, 3.5031, 16.0507)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E71 #716623
analogous
#235571 #232E71 #3F2371
triadic
#232E71 #71232E #2E7123
tetradic
#232E71 #712355 #716623 #23713F
square
#232E71 #712355 #716623 #23713F
split-complementary
#232E71 #713F23 #557123
monochromatic
#070A17 #151B42 #232E71 #3141A0 #485AC6

Accessibility & contrast

On white

12.35
#232E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232E71
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E71#FFFFFF#000000##FFFFFF
##232E711.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232e71;
/* rgb */ color: rgb(35, 46, 113);
/* oklch */ color: oklch(33.5% 0.116 271.6);
Tailwind
colors: {
  custom: {
    50: '#68669a',
    500: '#232e71',
    950: '#000000',
  },
}
SCSS
$custom: #232e71;
$custom-light: #68669a;
$custom-dark: #000000;
JSON
{
  "hex": "#232e71",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 231.538,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.11573,
    "h": 271.6
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#232E71
secondary
#A4984C
accent
#C84CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232E71

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

Preview Lab → · Contrast checker → · Palette generator →

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