#2225A6#2225A6

#2225A6 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.198 H 270.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2225A6
RGBrgb(34, 37, 166)
HSLhsl(239, 66%, 39%)
HSVhsv(239, 80%, 65%)
CMYKcmyk(79.5%, 77.7%, 0%, 34.9%)
CIE-LABlab(25.00, 44.23, -68.23)
CIE-LCHlch(25.00, 81.31, 302.95°)
OKLaboklab(37.23% 0.0023 -0.1976)
OKLCHoklch(37.23% 0.198 270.7)
XYZxyz(8.2019, 4.4155, 36.4890)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225A6 #A6A322
analogous
#2267A6 #2225A6 #6122A6
triadic
#2225A6 #A62225 #25A622
tetradic
#2225A6 #A62267 #A6A322 #22A661
square
#2225A6 #A62267 #A6A322 #22A661
split-complementary
#2225A6 #A66122 #67A622
monochromatic
#0D0E40 #181A73 #2225A6 #3034D5 #6366DF

Accessibility & contrast

On white

11.15
#2225A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2225A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225A6
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225A6#FFFFFF#000000##FFFFFF
##2225A61.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2225a6;
/* rgb */ color: rgb(34, 37, 166);
/* oklch */ color: oklch(37.2% 0.198 270.7);
Tailwind
colors: {
  custom: {
    50: '#7662c2',
    500: '#2225a6',
    950: '#000000',
  },
}
SCSS
$custom: #2225a6;
$custom-light: #7662c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2225a6",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 238.636,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37233,
    "c": 0.1976,
    "h": 270.7
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#2225A6
secondary
#C4C25F
accent
#E53FE9
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2225A6

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

Preview Lab → · Contrast checker → · Palette generator →

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