#2225B0#2225B0

#2225B0 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.210 H 270.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2225B0
RGBrgb(34, 37, 176)
HSLhsl(239, 68%, 41%)
HSVhsv(239, 81%, 69%)
CMYKcmyk(80.7%, 79%, 0%, 31%)
CIE-LABlab(26.15, 47.53, -72.35)
CIE-LCHlch(26.15, 86.57, 303.30°)
OKLaboklab(38.38% 0.0004 -0.2095)
OKLCHoklch(38.38% 0.21 270.1)
XYZxyz(9.1551, 4.7967, 41.5092)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225B0 #B0AD22
analogous
#226CB0 #2225B0 #6622B0
triadic
#2225B0 #B02225 #25B022
tetradic
#2225B0 #B0226C #B0AD22 #22B066
square
#2225B0 #B0226C #B0AD22 #22B066
split-complementary
#2225B0 #B06622 #6CB022
monochromatic
#0E0F49 #181A7D #2225B0 #373AD8 #6A6DE2

Accessibility & contrast

On white

10.72
#2225B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2225B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225B0
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225B0#FFFFFF#000000##FFFFFF
##2225B01.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2225b0;
/* rgb */ color: rgb(34, 37, 176);
/* oklch */ color: oklch(38.4% 0.210 270.1);
Tailwind
colors: {
  custom: {
    50: '#7862c9',
    500: '#2225b0',
    950: '#000000',
  },
}
SCSS
$custom: #2225b0;
$custom-light: #7862c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2225b0",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 238.732,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.20953,
    "h": 270.1
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#2225B0
secondary
#C8C666
accent
#E73DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2225B0

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

Preview Lab → · Contrast checker → · Palette generator →

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