#2337A0#2337A0

#2337A0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.170 H 268.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2337A0
RGBrgb(35, 55, 160)
HSLhsl(230, 64%, 38%)
HSVhsv(230, 78%, 63%)
CMYKcmyk(78.1%, 65.6%, 0%, 37.3%)
CIE-LABlab(28.45, 31.14, -58.91)
CIE-LCHlch(28.45, 66.63, 297.86°)
OKLaboklab(39.55% -0.0042 -0.1704)
OKLCHoklch(39.55% 0.17 268.6)
XYZxyz(8.4023, 5.6268, 33.8941)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337A0 #A08C23
analogous
#2375A0 #2337A0 #4D23A0
triadic
#2337A0 #A02337 #37A023
tetradic
#2337A0 #A02375 #A08C23 #23A04D
square
#2337A0 #A02375 #A08C23 #23A04D
split-complementary
#2337A0 #A04D23 #75A023
monochromatic
#0D143C #18266E #2337A0 #2F49D1 #6175DC

Accessibility & contrast

On white

9.88
#2337A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2337A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337A0
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337A0#FFFFFF#000000##FFFFFF
##2337A01.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2337a0;
/* rgb */ color: rgb(35, 55, 160);
/* oklch */ color: oklch(39.5% 0.170 268.6);
Tailwind
colors: {
  custom: {
    50: '#736dbd',
    500: '#2337a0',
    950: '#000000',
  },
}
SCSS
$custom: #2337a0;
$custom-light: #736dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2337a0",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 230.4,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.17048,
    "h": 268.6
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#2337A0
secondary
#C1B15D
accent
#CC41E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2337A0

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

Preview Lab → · Contrast checker → · Palette generator →

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