#23377D#23377D

#23377D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.121 H 267.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#23377D
RGBrgb(35, 55, 125)
HSLhsl(227, 56%, 31%)
HSVhsv(227, 72%, 49%)
CMYKcmyk(72%, 56%, 0%, 51%)
CIE-LABlab(25.47, 17.63, -42.14)
CIE-LCHlch(25.47, 45.68, 292.71°)
OKLaboklab(36.41% -0.0045 -0.1212)
OKLCHoklch(36.41% 0.121 267.9)
XYZxyz(5.7597, 4.5698, 19.9766)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23377D #7D6923
analogous
#23647D #23377D #3C237D
triadic
#23377D #7D2337 #377D23
tetradic
#23377D #7D2364 #7D6923 #237D3C
square
#23377D #7D2364 #7D6923 #237D3C
split-complementary
#23377D #7D3C23 #647D23
monochromatic
#080D1D #16224D #23377D #304CAD #4D6ACD

Accessibility & contrast

On white

10.97
#23377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#23377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23377D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23377D#FFFFFF#000000##FFFFFF
##23377D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23377d;
/* rgb */ color: rgb(35, 55, 125);
/* oklch */ color: oklch(36.4% 0.121 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a6da3',
    500: '#23377d',
    950: '#000000',
  },
}
SCSS
$custom: #23377d;
$custom-light: #6a6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#23377d",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 226.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.12131,
    "h": 267.9
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#23377D
secondary
#AF994C
accent
#BE48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23377D

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

Preview Lab → · Contrast checker → · Palette generator →

#23377D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva