#225AAD#225AAD

#225AAD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.145 H 258.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#225AAD
RGBrgb(34, 90, 173)
HSLhsl(216, 67%, 41%)
HSVhsv(216, 80%, 68%)
CMYKcmyk(80.3%, 48%, 0%, 32.2%)
CIE-LABlab(39.02, 12.69, -49.52)
CIE-LCHlch(39.02, 51.12, 284.37°)
OKLaboklab(47.82% -0.0287 -0.1423)
OKLCHoklch(47.82% 0.145 258.6)
XYZxyz(11.8559, 10.6681, 40.9614)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225AAD #AD7522
analogous
#22A0AD #225AAD #2F22AD
triadic
#225AAD #AD225A #5AAD22
tetradic
#225AAD #AD22A0 #AD7522 #22AD2F
square
#225AAD #AD22A0 #AD7522 #22AD2F
split-complementary
#225AAD #AD2F22 #A0AD22
monochromatic
#0E2547 #183F7A #225AAD #3576D7 #6899E1

Accessibility & contrast

On white

6.70
#225AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#225AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225AAD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225AAD#FFFFFF#000000##FFFFFF
##225AAD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #225aad;
/* rgb */ color: rgb(34, 90, 173);
/* oklch */ color: oklch(47.8% 0.145 258.6);
Tailwind
colors: {
  custom: {
    50: '#7488c6',
    500: '#225aad',
    950: '#000000',
  },
}
SCSS
$custom: #225aad;
$custom-light: #7488c6;
$custom-dark: #000000;
JSON
{
  "hex": "#225aad",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 173
  },
  "hsl": {
    "h": 215.827,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.14518,
    "h": 258.6
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#225AAD
secondary
#C79F64
accent
#A53EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #225AAD

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

Preview Lab → · Contrast checker → · Palette generator →

#225AAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva