#232C77#232C77

#232C77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.127 H 272.3°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#232C77
RGBrgb(35, 44, 119)
HSLhsl(234, 55%, 30%)
HSVhsv(234, 71%, 47%)
CMYKcmyk(70.6%, 63%, 0%, 53.3%)
CIE-LABlab(21.91, 22.98, -44.13)
CIE-LCHlch(21.91, 49.75, 297.50°)
OKLaboklab(33.59% 0.0052 -0.1272)
OKLCHoklch(33.59% 0.127 272.3)
XYZxyz(4.9225, 3.4901, 17.8634)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C77 #776E23
analogous
#235677 #232C77 #442377
triadic
#232C77 #77232C #2C7723
tetradic
#232C77 #772356 #776E23 #237744
square
#232C77 #772356 #776E23 #237744
split-complementary
#232C77 #774423 #567723
monochromatic
#070918 #151B48 #232C77 #313DA6 #4A58CA

Accessibility & contrast

On white

12.37
#232C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232C77
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C77#FFFFFF#000000##FFFFFF
##232C771.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232c77;
/* rgb */ color: rgb(35, 44, 119);
/* oklch */ color: oklch(33.6% 0.127 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a659f',
    500: '#232c77',
    950: '#000000',
  },
}
SCSS
$custom: #232c77;
$custom-light: #6a659f;
$custom-dark: #000000;
JSON
{
  "hex": "#232c77",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 233.571,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.12732,
    "h": 272.3
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#232C77
secondary
#AAA04C
accent
#CE4ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #232C77

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

Preview Lab → · Contrast checker → · Palette generator →

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