#2239A0#2239A0

#2239A0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.168 H 267.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2239A0
RGBrgb(34, 57, 160)
HSLhsl(229, 65%, 38%)
HSVhsv(229, 79%, 63%)
CMYKcmyk(78.8%, 64.4%, 0%, 37.3%)
CIE-LABlab(28.91, 29.71, -58.15)
CIE-LCHlch(28.91, 65.31, 297.06°)
OKLaboklab(39.87% -0.0063 -0.1682)
OKLCHoklch(39.87% 0.168 267.8)
XYZxyz(8.4658, 5.8034, 33.9249)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2239A0 #A08922
analogous
#2278A0 #2239A0 #4A22A0
triadic
#2239A0 #A02239 #39A022
tetradic
#2239A0 #A02278 #A08922 #22A04A
square
#2239A0 #A02278 #A08922 #22A04A
split-complementary
#2239A0 #A04A22 #78A022
monochromatic
#0D153B #17276E #2239A0 #2D4BD2 #5F76DD

Accessibility & contrast

On white

9.72
#2239A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2239A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2239A0
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2239A0#FFFFFF#000000##FFFFFF
##2239A01.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2239a0;
/* rgb */ color: rgb(34, 57, 160);
/* oklch */ color: oklch(39.9% 0.168 267.8);
Tailwind
colors: {
  custom: {
    50: '#726fbd',
    500: '#2239a0',
    950: '#000000',
  },
}
SCSS
$custom: #2239a0;
$custom-light: #726fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2239a0",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 229.048,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.16835,
    "h": 267.8
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#2239A0
secondary
#C2AF5C
accent
#C940E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2239A0

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

Preview Lab → · Contrast checker → · Palette generator →

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