#2337A9#2337A9

#2337A9 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.182 H 268.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2337A9
RGBrgb(35, 55, 169)
HSLhsl(231, 66%, 40%)
HSVhsv(231, 79%, 66%)
CMYKcmyk(79.3%, 67.5%, 0%, 33.7%)
CIE-LABlab(29.29, 34.49, -62.95)
CIE-LCHlch(29.29, 71.78, 298.72°)
OKLaboklab(40.42% -0.0048 -0.1823)
OKLCHoklch(40.42% 0.182 268.5)
XYZxyz(9.2183, 5.9532, 38.1917)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337A9 #A99523
analogous
#237AA9 #2337A9 #5223A9
triadic
#2337A9 #A92337 #37A923
tetradic
#2337A9 #A9237A #A99523 #23A952
square
#2337A9 #A9237A #A99523 #23A952
split-complementary
#2337A9 #A95223 #7AA923
monochromatic
#0E1644 #192676 #2337A9 #344CD5 #6779DF

Accessibility & contrast

On white

9.59
#2337A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2337A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337A9
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337A9#FFFFFF#000000##FFFFFF
##2337A91.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2337a9;
/* rgb */ color: rgb(35, 55, 169);
/* oklch */ color: oklch(40.4% 0.182 268.5);
Tailwind
colors: {
  custom: {
    50: '#756ec4',
    500: '#2337a9',
    950: '#000000',
  },
}
SCSS
$custom: #2337a9;
$custom-light: #756ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2337a9",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 231.045,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.18233,
    "h": 268.5
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#2337A9
secondary
#C5B663
accent
#CF3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2337A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2337A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva