#2225BD#2225BD

#2225BD is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.225 H 269.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2225BD
RGBrgb(34, 37, 189)
HSLhsl(239, 70%, 44%)
HSVhsv(239, 82%, 74%)
CMYKcmyk(82%, 80.4%, 0%, 25.9%)
CIE-LABlab(27.67, 51.70, -77.56)
CIE-LCHlch(27.67, 93.21, 303.69°)
OKLaboklab(39.88% -0.0021 -0.2246)
OKLCHoklch(39.88% 0.225 269.5)
XYZxyz(10.5034, 5.3361, 48.6106)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225BD #BDBA22
analogous
#2272BD #2225BD #6C22BD
triadic
#2225BD #BD2225 #25BD22
tetradic
#2225BD #BD2272 #BDBA22 #22BD6C
square
#2225BD #BD2272 #BDBA22 #22BD6C
split-complementary
#2225BD #BD6C22 #72BD22
monochromatic
#0F1155 #191B89 #2225BD #4043DD #7376E6

Accessibility & contrast

On white

10.16
#2225BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2225BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225BD
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225BD#FFFFFF#000000##FFFFFF
##2225BD1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2225bd;
/* rgb */ color: rgb(34, 37, 189);
/* oklch */ color: oklch(39.9% 0.225 269.5);
Tailwind
colors: {
  custom: {
    50: '#7c63d2',
    500: '#2225bd',
    950: '#000000',
  },
}
SCSS
$custom: #2225bd;
$custom-light: #7c63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2225bd",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 238.839,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.22463,
    "h": 269.5
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#2225BD
secondary
#CDCB6E
accent
#E93BEC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2225BD

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

Preview Lab → · Contrast checker → · Palette generator →

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