#2225BB#2225BB

#2225BB is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.222 H 269.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2225BB
RGBrgb(34, 37, 187)
HSLhsl(239, 69%, 43%)
HSVhsv(239, 82%, 73%)
CMYKcmyk(81.8%, 80.2%, 0%, 26.7%)
CIE-LABlab(27.44, 51.07, -76.77)
CIE-LCHlch(27.44, 92.20, 303.63°)
OKLaboklab(39.65% -0.0017 -0.2223)
OKLCHoklch(39.65% 0.222 269.6)
XYZxyz(10.2878, 5.2499, 47.4752)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225BB #BBB822
analogous
#2271BB #2225BB #6C22BB
triadic
#2225BB #BB2225 #25BB22
tetradic
#2225BB #BB2271 #BBB822 #22BB6C
square
#2225BB #BB2271 #BBB822 #22BB6C
split-complementary
#2225BB #BB6C22 #71BB22
monochromatic
#0F1153 #191B87 #2225BB #3E41DC #7274E5

Accessibility & contrast

On white

10.24
#2225BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2225BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225BB
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225BB#FFFFFF#000000##FFFFFF
##2225BB1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2225bb;
/* rgb */ color: rgb(34, 37, 187);
/* oklch */ color: oklch(39.6% 0.222 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b63d1',
    500: '#2225bb',
    950: '#000000',
  },
}
SCSS
$custom: #2225bb;
$custom-light: #7b63d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2225bb",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 238.824,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.22234,
    "h": 269.6
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#2225BB
secondary
#CCCA6D
accent
#E93CEC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2225BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2225BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva