#2237D3#2237D3

#2237D3 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.234 H 267.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2237D3
RGBrgb(34, 55, 211)
HSLhsl(233, 72%, 48%)
HSVhsv(233, 84%, 83%)
CMYKcmyk(83.9%, 73.9%, 0%, 17.3%)
CIE-LABlab(33.51, 49.27, -80.76)
CIE-LCHlch(33.51, 94.60, 301.39°)
OKLaboklab(44.72% -0.0098 -0.2341)
OKLCHoklch(44.72% 0.234 267.6)
XYZxyz(13.7797, 7.7739, 62.3896)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2237D3 #D3BE22
analogous
#2290D3 #2237D3 #6522D3
triadic
#2237D3 #D32237 #37D322
tetradic
#2237D3 #D32290 #D3BE22 #22D365
square
#2237D3 #D32290 #D3BE22 #22D365
split-complementary
#2237D3 #D36522 #90D322
monochromatic
#111C6A #1A299E #2237D3 #4F61E3 #8490EB

Accessibility & contrast

On white

8.22
#2237D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2237D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2237D3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2237D3#FFFFFF#000000##FFFFFF
##2237D31.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#0046D0
Tritanopia (blue-blind)
#006582
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2237d3;
/* rgb */ color: rgb(34, 55, 211);
/* oklch */ color: oklch(44.7% 0.234 267.6);
Tailwind
colors: {
  custom: {
    50: '#806fe2',
    500: '#2237d3',
    950: '#000000',
  },
}
SCSS
$custom: #2237d3;
$custom-light: #806fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#2237d3",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 232.881,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44718,
    "c": 0.23431,
    "h": 267.6
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#2237D3
secondary
#D4CA7D
accent
#D939EF
background
#F8F6FE
surface
#F0ECFC
border
#CBC7D5
text
#0C0716
muted
#7D7A84

Preview Lab

Preview with #2237D3

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

Preview Lab → · Contrast checker → · Palette generator →

#2237D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva