#23337F#23337F

#23337F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.130 H 269.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#23337F
RGBrgb(35, 51, 127)
HSLhsl(230, 57%, 32%)
HSVhsv(230, 72%, 50%)
CMYKcmyk(72.4%, 59.8%, 0%, 50.2%)
CIE-LABlab(24.50, 21.20, -44.97)
CIE-LCHlch(24.50, 49.72, 295.24°)
OKLaboklab(35.73% -0.0009 -0.1296)
OKLCHoklch(35.73% 0.13 269.6)
XYZxyz(5.7064, 4.2567, 20.5955)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23337F #7F6F23
analogous
#23617F #23337F #41237F
triadic
#23337F #7F2333 #337F23
tetradic
#23337F #7F2361 #7F6F23 #237F41
square
#23337F #7F2361 #7F6F23 #237F41
split-complementary
#23337F #7F4123 #617F23
monochromatic
#090C1F #16204F #23337F #3046AF #4E64CE

Accessibility & contrast

On white

11.34
#23337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23337F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23337F#FFFFFF#000000##FFFFFF
##23337F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23337f;
/* rgb */ color: rgb(35, 51, 127);
/* oklch */ color: oklch(35.7% 0.130 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b6aa5',
    500: '#23337f',
    950: '#000000',
  },
}
SCSS
$custom: #23337f;
$custom-light: #6b6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#23337f",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 229.565,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.12962,
    "h": 269.6
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#23337F
secondary
#B1A04C
accent
#C648E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23337F

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

Preview Lab → · Contrast checker → · Palette generator →

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