#2237BD#2237BD

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

Color values

HEX#2237BD
RGBrgb(34, 55, 189)
HSLhsl(232, 70%, 44%)
HSVhsv(232, 82%, 74%)
CMYKcmyk(82%, 70.9%, 0%, 25.9%)
CIE-LABlab(31.22, 41.66, -71.69)
CIE-LCHlch(31.22, 82.91, 300.16°)
OKLaboklab(42.4% -0.0073 -0.2078)
OKLCHoklch(42.4% 0.208 268)
XYZxyz(11.2080, 6.7452, 48.8455)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2237BD #BDA822
analogous
#2284BD #2237BD #5A22BD
triadic
#2237BD #BD2237 #37BD22
tetradic
#2237BD #BD2284 #BDA822 #22BD5A
square
#2237BD #BD2284 #BDA822 #22BD5A
split-complementary
#2237BD #BD5A22 #84BD22
monochromatic
#0F1955 #192889 #2237BD #4055DD #7383E6

Accessibility & contrast

On white

8.94
#2237BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2237BD
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2237BD#FFFFFF#000000##FFFFFF
##2237BD1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2237bd;
/* rgb */ color: rgb(34, 55, 189);
/* oklch */ color: oklch(42.4% 0.208 268.0);
Tailwind
colors: {
  custom: {
    50: '#7a6ed2',
    500: '#2237bd',
    950: '#000000',
  },
}
SCSS
$custom: #2237bd;
$custom-light: #7a6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2237bd",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 231.871,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42399,
    "c": 0.20789,
    "h": 268
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#2237BD
secondary
#CDC06E
accent
#D43BEC
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2237BD

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

Preview Lab → · Contrast checker → · Palette generator →

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