#2239A6#2239A6

#2239A6 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.176 H 267.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2239A6
RGBrgb(34, 57, 166)
HSLhsl(230, 66%, 39%)
HSVhsv(230, 80%, 65%)
CMYKcmyk(79.5%, 65.7%, 0%, 34.9%)
CIE-LABlab(29.46, 31.98, -60.88)
CIE-LCHlch(29.46, 68.77, 297.71°)
OKLaboklab(40.45% -0.0066 -0.1762)
OKLCHoklch(40.45% 0.176 267.9)
XYZxyz(9.0034, 6.0185, 36.7562)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2239A6 #A68F22
analogous
#227BA6 #2239A6 #4D22A6
triadic
#2239A6 #A62239 #39A622
tetradic
#2239A6 #A6227B #A68F22 #22A64D
square
#2239A6 #A6227B #A68F22 #22A64D
split-complementary
#2239A6 #A64D22 #7BA622
monochromatic
#0D1640 #182873 #2239A6 #304DD5 #6379DF

Accessibility & contrast

On white

9.53
#2239A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2239A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2239A6
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2239A6#FFFFFF#000000##FFFFFF
##2239A61.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2239a6;
/* rgb */ color: rgb(34, 57, 166);
/* oklch */ color: oklch(40.4% 0.176 267.9);
Tailwind
colors: {
  custom: {
    50: '#746fc1',
    500: '#2239a6',
    950: '#000000',
  },
}
SCSS
$custom: #2239a6;
$custom-light: #746fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2239a6",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 229.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.17633,
    "h": 267.9
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#2239A6
secondary
#C4B35F
accent
#CB3FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2239A6

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

Preview Lab → · Contrast checker → · Palette generator →

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