#232B7C#232B7C

#232B7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.136 H 272.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#232B7C
RGBrgb(35, 43, 124)
HSLhsl(235, 56%, 31%)
HSVhsv(235, 72%, 49%)
CMYKcmyk(71.8%, 65.3%, 0%, 51.4%)
CIE-LABlab(22.09, 25.57, -47.02)
CIE-LCHlch(22.09, 53.52, 298.54°)
OKLaboklab(33.86% 0.0058 -0.1357)
OKLCHoklch(33.86% 0.136 272.4)
XYZxyz(5.1939, 3.5398, 19.4744)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B7C #7C7423
analogous
#23577C #232B7C #47237C
triadic
#232B7C #7C232B #2B7C23
tetradic
#232B7C #7C2357 #7C7423 #237C47
square
#232B7C #7C2357 #7C7423 #237C47
split-complementary
#232B7C #7C4723 #577C23
monochromatic
#080A1D #161A4C #232B7C #303CAC #4D58CD

Accessibility & contrast

On white

12.30
#232B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232B7C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B7C#FFFFFF#000000##FFFFFF
##232B7C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232b7c;
/* rgb */ color: rgb(35, 43, 124);
/* oklch */ color: oklch(33.9% 0.136 272.4);
Tailwind
colors: {
  custom: {
    50: '#6b64a3',
    500: '#232b7c',
    950: '#000000',
  },
}
SCSS
$custom: #232b7c;
$custom-light: #6b64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#232b7c",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 234.607,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33859,
    "c": 0.13583,
    "h": 272.4
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#232B7C
secondary
#AFA64C
accent
#D249DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #232B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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