#23337D#23337D

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

Color values

HEX#23337D
RGBrgb(35, 51, 125)
HSLhsl(229, 56%, 31%)
HSVhsv(229, 72%, 49%)
CMYKcmyk(72%, 59.2%, 0%, 51%)
CIE-LABlab(24.34, 20.43, -43.98)
CIE-LCHlch(24.34, 48.49, 294.91°)
OKLaboklab(35.55% -0.0009 -0.1267)
OKLCHoklch(35.55% 0.127 269.6)
XYZxyz(5.5774, 4.2051, 19.9158)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23337D #7D6D23
analogous
#23607D #23337D #40237D
triadic
#23337D #7D2333 #337D23
tetradic
#23337D #7D2360 #7D6D23 #237D40
square
#23337D #7D2360 #7D6D23 #237D40
split-complementary
#23337D #7D4023 #607D23
monochromatic
#080C1D #161F4D #23337D #3047AD #4D64CD

Accessibility & contrast

On white

11.41
#23337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#23337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23337D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23337D#FFFFFF#000000##FFFFFF
##23337D1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23337d;
/* rgb */ color: rgb(35, 51, 125);
/* oklch */ color: oklch(35.6% 0.127 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b6aa3',
    500: '#23337d',
    950: '#000000',
  },
}
SCSS
$custom: #23337d;
$custom-light: #6b6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#23337d",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 229.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35554,
    "c": 0.1267,
    "h": 269.6
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23337D

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

Preview Lab → · Contrast checker → · Palette generator →

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