#2337B1#2337B1

#2337B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.193 H 268.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2337B1
RGBrgb(35, 55, 177)
HSLhsl(232, 67%, 42%)
HSVhsv(232, 80%, 69%)
CMYKcmyk(80.2%, 68.9%, 0%, 30.6%)
CIE-LABlab(30.07, 37.42, -66.47)
CIE-LCHlch(30.07, 76.28, 299.38°)
OKLaboklab(41.22% -0.0054 -0.1925)
OKLCHoklch(41.22% 0.193 268.4)
XYZxyz(9.9924, 6.2629, 42.2687)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337B1 #B19D23
analogous
#237EB1 #2337B1 #5623B1
triadic
#2337B1 #B12337 #37B123
tetradic
#2337B1 #B1237E #B19D23 #23B156
square
#2337B1 #B1237E #B19D23 #23B156
split-complementary
#2337B1 #B15623 #7EB123
monochromatic
#0F174B #19277E #2337B1 #3950D8 #6C7DE2

Accessibility & contrast

On white

9.32
#2337B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2337B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337B1
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337B1#FFFFFF#000000##FFFFFF
##2337B11.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2337b1;
/* rgb */ color: rgb(35, 55, 177);
/* oklch */ color: oklch(41.2% 0.193 268.4);
Tailwind
colors: {
  custom: {
    50: '#776ec9',
    500: '#2337b1',
    950: '#000000',
  },
}
SCSS
$custom: #2337b1;
$custom-light: #776ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2337b1",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 231.549,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.19261,
    "h": 268.4
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#2337B1
secondary
#C8BB68
accent
#D23EEA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2337B1

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

Preview Lab → · Contrast checker → · Palette generator →

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