#2225AF#2225AF

#2225AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.208 H 270.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2225AF
RGBrgb(34, 37, 175)
HSLhsl(239, 67%, 41%)
HSVhsv(239, 81%, 69%)
CMYKcmyk(80.6%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.03, 47.20, -71.94)
CIE-LCHlch(26.03, 86.05, 303.27°)
OKLaboklab(38.26% 0.0006 -0.2083)
OKLCHoklch(38.26% 0.208 270.2)
XYZxyz(9.0565, 4.7573, 40.9901)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225AF #AFAC22
analogous
#226BAF #2225AF #6522AF
triadic
#2225AF #AF2225 #25AF22
tetradic
#2225AF #AF226B #AFAC22 #22AF65
square
#2225AF #AF226B #AFAC22 #22AF65
split-complementary
#2225AF #AF6522 #6BAF22
monochromatic
#0E0F49 #181A7C #2225AF #363AD8 #696CE2

Accessibility & contrast

On white

10.76
#2225AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2225AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225AF
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225AF#FFFFFF#000000##FFFFFF
##2225AF1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2225af;
/* rgb */ color: rgb(34, 37, 175);
/* oklch */ color: oklch(38.3% 0.208 270.2);
Tailwind
colors: {
  custom: {
    50: '#7862c8',
    500: '#2225af',
    950: '#000000',
  },
}
SCSS
$custom: #2225af;
$custom-light: #7862c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2225af",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 238.723,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.20835,
    "h": 270.2
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2225AF

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

Preview Lab → · Contrast checker → · Palette generator →

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