#2229BD#2229BD

#2229BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.221 H 269.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2229BD
RGBrgb(34, 41, 189)
HSLhsl(237, 70%, 44%)
HSVhsv(237, 82%, 74%)
CMYKcmyk(82%, 78.3%, 0%, 25.9%)
CIE-LABlab(28.38, 49.66, -76.39)
CIE-LCHlch(28.38, 91.11, 303.02°)
OKLaboklab(40.38% -0.003 -0.2213)
OKLCHoklch(40.38% 0.221 269.2)
XYZxyz(10.6348, 5.5988, 48.6544)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2229BD #BDB622
analogous
#2276BD #2229BD #6822BD
triadic
#2229BD #BD2229 #29BD22
tetradic
#2229BD #BD2276 #BDB622 #22BD68
square
#2229BD #BD2276 #BDB622 #22BD68
split-complementary
#2229BD #BD6822 #76BD22
monochromatic
#0F1255 #191E89 #2229BD #4047DD #7379E6

Accessibility & contrast

On white

9.91
#2229BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2229BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2229BD
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2229BD#FFFFFF#000000##FFFFFF
##2229BD1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2229bd;
/* rgb */ color: rgb(34, 41, 189);
/* oklch */ color: oklch(40.4% 0.221 269.2);
Tailwind
colors: {
  custom: {
    50: '#7b65d2',
    500: '#2229bd',
    950: '#000000',
  },
}
SCSS
$custom: #2229bd;
$custom-light: #7b65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2229bd",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 237.29,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40375,
    "c": 0.22132,
    "h": 269.2
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#2229BD
secondary
#CDC96E
accent
#E43BEC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2229BD

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

Preview Lab → · Contrast checker → · Palette generator →

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