#232D77#232D77

#232D77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.126 H 271.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#232D77
RGBrgb(35, 45, 119)
HSLhsl(233, 55%, 30%)
HSVhsv(233, 71%, 47%)
CMYKcmyk(70.6%, 62.2%, 0%, 53.3%)
CIE-LABlab(22.18, 22.28, -43.69)
CIE-LCHlch(22.18, 49.04, 297.02°)
OKLaboklab(33.79% 0.0043 -0.1259)
OKLCHoklch(33.79% 0.126 271.9)
XYZxyz(4.9602, 3.5655, 17.8760)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D77 #776D23
analogous
#235777 #232D77 #432377
triadic
#232D77 #77232D #2D7723
tetradic
#232D77 #772357 #776D23 #237743
square
#232D77 #772357 #776D23 #237743
split-complementary
#232D77 #774323 #577723
monochromatic
#070918 #151B48 #232D77 #313FA6 #4A5ACA

Accessibility & contrast

On white

12.26
#232D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232D77
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D77#FFFFFF#000000##FFFFFF
##232D771.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232d77;
/* rgb */ color: rgb(35, 45, 119);
/* oklch */ color: oklch(33.8% 0.126 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a659f',
    500: '#232d77',
    950: '#000000',
  },
}
SCSS
$custom: #232d77;
$custom-light: #6a659f;
$custom-dark: #000000;
JSON
{
  "hex": "#232d77",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 232.857,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.12598,
    "h": 271.9
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#232D77
secondary
#AA9F4C
accent
#CC4ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #232D77

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

Preview Lab → · Contrast checker → · Palette generator →

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