#2239AF#2239AF

#2239AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.188 H 267.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2239AF
RGBrgb(34, 57, 175)
HSLhsl(230, 67%, 41%)
HSVhsv(230, 81%, 69%)
CMYKcmyk(80.6%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.30, 35.33, -64.89)
CIE-LCHlch(30.30, 73.89, 298.57°)
OKLaboklab(41.32% -0.007 -0.1879)
OKLCHoklch(41.32% 0.188 267.9)
XYZxyz(9.8580, 6.3603, 41.2572)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2239AF #AF9822
analogous
#227FAF #2239AF #5122AF
triadic
#2239AF #AF2239 #39AF22
tetradic
#2239AF #AF227F #AF9822 #22AF51
square
#2239AF #AF227F #AF9822 #22AF51
split-complementary
#2239AF #AF5122 #7FAF22
monochromatic
#0E1849 #18287C #2239AF #3651D8 #697DE2

Accessibility & contrast

On white

9.24
#2239AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2239AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2239AF
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2239AF#FFFFFF#000000##FFFFFF
##2239AF1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2239af;
/* rgb */ color: rgb(34, 57, 175);
/* oklch */ color: oklch(41.3% 0.188 267.9);
Tailwind
colors: {
  custom: {
    50: '#766fc8',
    500: '#2239af',
    950: '#000000',
  },
}
SCSS
$custom: #2239af;
$custom-light: #766fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2239af",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 230.213,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.18806,
    "h": 267.9
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#2239AF
secondary
#C8B865
accent
#CE3DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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