#232B71#232B71

#232B71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.120 H 272.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#232B71
RGBrgb(35, 43, 113)
HSLhsl(234, 53%, 29%)
HSVhsv(234, 69%, 44%)
CMYKcmyk(69%, 61.9%, 0%, 55.7%)
CIE-LABlab(21.12, 21.37, -41.57)
CIE-LCHlch(21.12, 46.74, 297.21°)
OKLaboklab(32.84% 0.0061 -0.1197)
OKLCHoklch(32.84% 0.12 272.9)
XYZxyz(4.5367, 3.2769, 16.0130)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B71 #716923
analogous
#235271 #232B71 #422371
triadic
#232B71 #71232B #2B7123
tetradic
#232B71 #712352 #716923 #237142
square
#232B71 #712352 #716923 #237142
split-complementary
#232B71 #714223 #527123
monochromatic
#070917 #151942 #232B71 #313DA0 #4855C6

Accessibility & contrast

On white

12.69
#232B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#232B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232B71
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B71#FFFFFF#000000##FFFFFF
##232B711.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232b71;
/* rgb */ color: rgb(35, 43, 113);
/* oklch */ color: oklch(32.8% 0.120 272.9);
Tailwind
colors: {
  custom: {
    50: '#68649a',
    500: '#232b71',
    950: '#000000',
  },
}
SCSS
$custom: #232b71;
$custom-light: #68649a;
$custom-dark: #000000;
JSON
{
  "hex": "#232b71",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 233.846,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32843,
    "c": 0.11987,
    "h": 272.9
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#232B71
secondary
#A49B4C
accent
#CD4CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232B71

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

Preview Lab → · Contrast checker → · Palette generator →

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