#23377F#23377F

#23377F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.124 H 268.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#23377F
RGBrgb(35, 55, 127)
HSLhsl(227, 57%, 32%)
HSVhsv(227, 72%, 50%)
CMYKcmyk(72.4%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.63, 18.42, -43.15)
CIE-LCHlch(25.63, 46.91, 293.12°)
OKLaboklab(36.57% -0.0044 -0.1242)
OKLCHoklch(36.57% 0.124 268)
XYZxyz(5.8888, 4.6214, 20.6562)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23377F #7F6B23
analogous
#23657F #23377F #3D237F
triadic
#23377F #7F2337 #377F23
tetradic
#23377F #7F2365 #7F6B23 #237F3D
square
#23377F #7F2365 #7F6B23 #237F3D
split-complementary
#23377F #7F3D23 #657F23
monochromatic
#090D1F #16224F #23377F #304CAF #4E6ACE

Accessibility & contrast

On white

10.91
#23377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#23377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23377F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23377F#FFFFFF#000000##FFFFFF
##23377F1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23377f;
/* rgb */ color: rgb(35, 55, 127);
/* oklch */ color: oklch(36.6% 0.124 268.0);
Tailwind
colors: {
  custom: {
    50: '#6b6da5',
    500: '#23377f',
    950: '#000000',
  },
}
SCSS
$custom: #23377f;
$custom-light: #6b6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#23377f",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 226.957,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36572,
    "c": 0.12427,
    "h": 268
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#23377F
secondary
#B19B4C
accent
#BF48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23377F

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

Preview Lab → · Contrast checker → · Palette generator →

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