#2337A5#2337A5

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

Color values

HEX#2337A5
RGBrgb(35, 55, 165)
HSLhsl(231, 65%, 39%)
HSVhsv(231, 79%, 65%)
CMYKcmyk(78.8%, 66.7%, 0%, 35.3%)
CIE-LABlab(28.92, 33.01, -61.17)
CIE-LCHlch(28.92, 69.51, 298.35°)
OKLaboklab(40.03% -0.0045 -0.1771)
OKLCHoklch(40.03% 0.177 268.5)
XYZxyz(8.8485, 5.8053, 36.2442)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337A5 #A59123
analogous
#2378A5 #2337A5 #5023A5
triadic
#2337A5 #A52337 #37A523
tetradic
#2337A5 #A52378 #A59123 #23A550
square
#2337A5 #A52378 #A59123 #23A550
split-complementary
#2337A5 #A55023 #78A523
monochromatic
#0E1540 #182673 #2337A5 #324BD3 #6477DE

Accessibility & contrast

On white

9.72
#2337A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2337A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337A5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337A5#FFFFFF#000000##FFFFFF
##2337A51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2337a5;
/* rgb */ color: rgb(35, 55, 165);
/* oklch */ color: oklch(40.0% 0.177 268.5);
Tailwind
colors: {
  custom: {
    50: '#746ec1',
    500: '#2337a5',
    950: '#000000',
  },
}
SCSS
$custom: #2337a5;
$custom-light: #746ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2337a5",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 230.769,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.17711,
    "h": 268.5
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2337A5

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

Preview Lab → · Contrast checker → · Palette generator →

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