#23337E#23337E

#23337E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.128 H 269.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#23337E
RGBrgb(35, 51, 126)
HSLhsl(229, 57%, 32%)
HSVhsv(229, 72%, 49%)
CMYKcmyk(72.2%, 59.5%, 0%, 50.6%)
CIE-LABlab(24.42, 20.82, -44.48)
CIE-LCHlch(24.42, 49.11, 295.08°)
OKLaboklab(35.64% -0.0009 -0.1282)
OKLCHoklch(35.64% 0.128 269.6)
XYZxyz(5.6416, 4.2308, 20.2539)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23337E #7E6E23
analogous
#23617E #23337E #41237E
triadic
#23337E #7E2333 #337E23
tetradic
#23337E #7E2361 #7E6E23 #237E41
square
#23337E #7E2361 #7E6E23 #237E41
split-complementary
#23337E #7E4123 #617E23
monochromatic
#080C1E #16204E #23337E #3046AE #4E64CE

Accessibility & contrast

On white

11.37
#23337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#23337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23337E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23337E#FFFFFF#000000##FFFFFF
##23337E1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23337e;
/* rgb */ color: rgb(35, 51, 126);
/* oklch */ color: oklch(35.6% 0.128 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b6aa4',
    500: '#23337e',
    950: '#000000',
  },
}
SCSS
$custom: #23337e;
$custom-light: #6b6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#23337e",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 229.451,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35641,
    "c": 0.12816,
    "h": 269.6
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#23337E
secondary
#B09F4C
accent
#C548E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23337E

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

Preview Lab → · Contrast checker → · Palette generator →

#23337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva