#2337B2#2337B2

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

Color values

HEX#2337B2
RGBrgb(35, 55, 178)
HSLhsl(232, 67%, 42%)
HSVhsv(232, 80%, 70%)
CMYKcmyk(80.3%, 69.1%, 0%, 30.2%)
CIE-LABlab(30.16, 37.78, -66.91)
CIE-LCHlch(30.16, 76.84, 299.45°)
OKLaboklab(41.32% -0.0055 -0.1938)
OKLCHoklch(41.32% 0.194 268.4)
XYZxyz(10.0924, 6.3029, 42.7955)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2337B2 #B29E23
analogous
#237FB2 #2337B2 #5623B2
triadic
#2337B2 #B22337 #37B223
tetradic
#2337B2 #B2237F #B29E23 #23B256
square
#2337B2 #B2237F #B29E23 #23B256
split-complementary
#2337B2 #B25623 #7FB223
monochromatic
#0F174C #19277F #2337B2 #3A50D8 #6D7DE2

Accessibility & contrast

On white

9.29
#2337B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2337B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2337B2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2337B2#FFFFFF#000000##FFFFFF
##2337B21.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2337b2;
/* rgb */ color: rgb(35, 55, 178);
/* oklch */ color: oklch(41.3% 0.194 268.4);
Tailwind
colors: {
  custom: {
    50: '#786eca',
    500: '#2337b2',
    950: '#000000',
  },
}
SCSS
$custom: #2337b2;
$custom-light: #786eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2337b2",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 231.608,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.19389,
    "h": 268.4
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#2337B2
secondary
#C9BB68
accent
#D23EEA
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2337B2

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

Preview Lab → · Contrast checker → · Palette generator →

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