#232C71#232C71

#232C71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.118 H 272.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#232C71
RGBrgb(35, 44, 113)
HSLhsl(233, 53%, 29%)
HSVhsv(233, 69%, 44%)
CMYKcmyk(69%, 61.1%, 0%, 55.7%)
CIE-LABlab(21.40, 20.67, -41.12)
CIE-LCHlch(21.40, 46.02, 296.69°)
OKLaboklab(33.05% 0.0052 -0.1184)
OKLCHoklch(33.05% 0.118 272.5)
XYZxyz(4.5735, 3.3505, 16.0253)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C71 #716823
analogous
#235371 #232C71 #412371
triadic
#232C71 #71232C #2C7123
tetradic
#232C71 #712353 #716823 #237141
square
#232C71 #712353 #716823 #237141
split-complementary
#232C71 #714123 #537123
monochromatic
#070917 #151A42 #232C71 #313EA0 #4857C6

Accessibility & contrast

On white

12.57
#232C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#232C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C71
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C71#FFFFFF#000000##FFFFFF
##232C711.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232c71;
/* rgb */ color: rgb(35, 44, 113);
/* oklch */ color: oklch(33.0% 0.118 272.5);
Tailwind
colors: {
  custom: {
    50: '#68659a',
    500: '#232c71',
    950: '#000000',
  },
}
SCSS
$custom: #232c71;
$custom-light: #68659a;
$custom-dark: #000000;
JSON
{
  "hex": "#232c71",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 233.077,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33048,
    "c": 0.11849,
    "h": 272.5
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#232C71
secondary
#A49A4C
accent
#CB4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #232C71

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

Preview Lab → · Contrast checker → · Palette generator →

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