#2239BC#2239BC

#2239BC is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.6% C 0.205 H 267.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2239BC
RGBrgb(34, 57, 188)
HSLhsl(231, 69%, 44%)
HSVhsv(231, 82%, 74%)
CMYKcmyk(81.9%, 69.7%, 0%, 26.3%)
CIE-LABlab(31.57, 40.07, -70.53)
CIE-LCHlch(31.57, 81.11, 299.60°)
OKLaboklab(42.62% -0.008 -0.2044)
OKLCHoklch(42.62% 0.205 267.7)
XYZxyz(11.1968, 6.8958, 48.3081)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2239BC #BCA522
analogous
#2286BC #2239BC #5822BC
triadic
#2239BC #BC2239 #39BC22
tetradic
#2239BC #BC2286 #BCA522 #22BC58
square
#2239BC #BC2286 #BCA522 #22BC58
split-complementary
#2239BC #BC5822 #86BC22
monochromatic
#0F1A54 #192988 #2239BC #3F56DC #7384E6

Accessibility & contrast

On white

8.83
#2239BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2239BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2239BC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2239BC#FFFFFF#000000##FFFFFF
##2239BC1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2239bc;
/* rgb */ color: rgb(34, 57, 188);
/* oklch */ color: oklch(42.6% 0.205 267.7);
Tailwind
colors: {
  custom: {
    50: '#7a70d1',
    500: '#2239bc',
    950: '#000000',
  },
}
SCSS
$custom: #2239bc;
$custom-light: #7a70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2239bc",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 231.039,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.20452,
    "h": 267.7
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#2239BC
secondary
#CDBE6D
accent
#D23CEC
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2239BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2239BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva