#225AB1#225AB1

#225AB1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.151 H 259.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#225AB1
RGBrgb(34, 90, 177)
HSLhsl(217, 68%, 41%)
HSVhsv(217, 81%, 69%)
CMYKcmyk(80.8%, 49.2%, 0%, 30.6%)
CIE-LABlab(39.28, 14.26, -51.45)
CIE-LCHlch(39.28, 53.39, 285.49°)
OKLaboklab(48.11% -0.0281 -0.148)
OKLCHoklch(48.11% 0.151 259.3)
XYZxyz(12.2488, 10.8253, 43.0304)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225AB1 #B17922
analogous
#22A2B1 #225AB1 #3122B1
triadic
#225AB1 #B1225A #5AB122
tetradic
#225AB1 #B122A2 #B17922 #22B131
square
#225AB1 #B122A2 #B17922 #22B131
split-complementary
#225AB1 #B13122 #A2B122
monochromatic
#0E264A #18407E #225AB1 #3877D9 #6B9AE3

Accessibility & contrast

On white

6.63
#225AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#225AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225AB1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225AB1#FFFFFF#000000##FFFFFF
##225AB11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #225ab1;
/* rgb */ color: rgb(34, 90, 177);
/* oklch */ color: oklch(48.1% 0.151 259.3);
Tailwind
colors: {
  custom: {
    50: '#7588c9',
    500: '#225ab1',
    950: '#000000',
  },
}
SCSS
$custom: #225ab1;
$custom-light: #7588c9;
$custom-dark: #000000;
JSON
{
  "hex": "#225ab1",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 216.503,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.15062,
    "h": 259.3
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#225AB1
secondary
#C9A266
accent
#A73DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #225AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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