#2337A6#2337A6

#2337A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.178 H 268.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2337A6
RGBrgb(35, 55, 166)
HSLhsl(231, 65%, 39%)
HSVhsv(231, 79%, 65%)
CMYKcmyk(78.9%, 66.9%, 0%, 34.9%)
CIE-LABlab(29.01, 33.38, -61.62)
CIE-LCHlch(29.01, 70.08, 298.45°)
OKLaboklab(40.13% -0.0046 -0.1784)
OKLCHoklch(40.13% 0.178 268.5)
XYZxyz(8.9399, 5.8419, 36.7254)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337A6 #A69223
analogous
#2379A6 #2337A6 #5123A6
triadic
#2337A6 #A62337 #37A623
tetradic
#2337A6 #A62379 #A69223 #23A651
square
#2337A6 #A62379 #A69223 #23A651
split-complementary
#2337A6 #A65123 #79A623
monochromatic
#0E1641 #182673 #2337A6 #324BD4 #6577DF

Accessibility & contrast

On white

9.68
#2337A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2337A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337A6
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337A6#FFFFFF#000000##FFFFFF
##2337A61.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2337a6;
/* rgb */ color: rgb(35, 55, 166);
/* oklch */ color: oklch(40.1% 0.178 268.5);
Tailwind
colors: {
  custom: {
    50: '#746ec1',
    500: '#2337a6',
    950: '#000000',
  },
}
SCSS
$custom: #2337a6;
$custom-light: #746ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2337a6",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 230.84,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40128,
    "c": 0.17842,
    "h": 268.5
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#2337A6
secondary
#C4B561
accent
#CE40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2337A6

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

Preview Lab → · Contrast checker → · Palette generator →

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