#2337BD#2337BD

#2337BD is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.4% C 0.208 H 268.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2337BD
RGBrgb(35, 55, 189)
HSLhsl(232, 69%, 44%)
HSVhsv(232, 81%, 74%)
CMYKcmyk(81.5%, 70.9%, 0%, 25.9%)
CIE-LABlab(31.26, 41.73, -71.62)
CIE-LCHlch(31.26, 82.89, 300.22°)
OKLaboklab(42.44% -0.0065 -0.2075)
OKLCHoklch(42.44% 0.208 268.2)
XYZxyz(11.2415, 6.7625, 48.8471)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337BD #BDA923
analogous
#2384BD #2337BD #5C23BD
triadic
#2337BD #BD2337 #37BD23
tetradic
#2337BD #BD2384 #BDA923 #23BD5C
square
#2337BD #BD2384 #BDA923 #23BD5C
split-complementary
#2337BD #BD5C23 #84BD23
monochromatic
#101956 #192889 #2337BD #4155DC #7584E5

Accessibility & contrast

On white

8.93
#2337BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2337BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337BD
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337BD#FFFFFF#000000##FFFFFF
##2337BD1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0042BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2337bd;
/* rgb */ color: rgb(35, 55, 189);
/* oklch */ color: oklch(42.4% 0.208 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a6ed2',
    500: '#2337bd',
    950: '#000000',
  },
}
SCSS
$custom: #2337bd;
$custom-light: #7a6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2337bd",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 232.208,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.20764,
    "h": 268.2
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#2337BD
secondary
#CDC06F
accent
#D53CEC
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2337BD

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

Preview Lab → · Contrast checker → · Palette generator →

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