#232C97#232C97

#232C97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.171 H 270.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#232C97
RGBrgb(35, 44, 151)
HSLhsl(235, 62%, 36%)
HSVhsv(235, 77%, 59%)
CMYKcmyk(76.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(24.93, 34.93, -59.20)
CIE-LCHlch(24.93, 68.74, 300.54°)
OKLaboklab(36.72% 0.0027 -0.1713)
OKLCHoklch(36.72% 0.171 270.9)
XYZxyz(7.1778, 4.3923, 29.7417)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C97 #978E23
analogous
#236697 #232C97 #542397
triadic
#232C97 #97232C #2C9723
tetradic
#232C97 #972366 #978E23 #239754
square
#232C97 #972366 #978E23 #239754
split-complementary
#232C97 #975423 #669723
monochromatic
#0C0F34 #171E65 #232C97 #2F3AC9 #5B65D9

Accessibility & contrast

On white

11.18
#232C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#232C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C97
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C97#FFFFFF#000000##FFFFFF
##232C971.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #232c97;
/* rgb */ color: rgb(35, 44, 151);
/* oklch */ color: oklch(36.7% 0.171 270.9);
Tailwind
colors: {
  custom: {
    50: '#7265b7',
    500: '#232c97',
    950: '#000000',
  },
}
SCSS
$custom: #232c97;
$custom-light: #7265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232c97",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 235.345,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36719,
    "c": 0.17136,
    "h": 270.9
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#232C97
secondary
#BEB658
accent
#D942E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #232C97

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

Preview Lab → · Contrast checker → · Palette generator →

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