#225AB3#225AB3

#225AB3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.153 H 259.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#225AB3
RGBrgb(34, 90, 179)
HSLhsl(217, 68%, 42%)
HSVhsv(217, 81%, 70%)
CMYKcmyk(81%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.42, 15.04, -52.41)
CIE-LCHlch(39.42, 54.52, 286.02°)
OKLaboklab(48.26% -0.0278 -0.1508)
OKLCHoklch(48.26% 0.153 259.6)
XYZxyz(12.4496, 10.9056, 44.0879)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225AB3 #B37B22
analogous
#22A3B3 #225AB3 #3322B3
triadic
#225AB3 #B3225A #5AB322
tetradic
#225AB3 #B322A3 #B37B22 #22B333
square
#225AB3 #B322A3 #B37B22 #22B333
split-complementary
#225AB3 #B33322 #A3B322
monochromatic
#0E264C #184080 #225AB3 #3977D9 #6C9AE3

Accessibility & contrast

On white

6.60
#225AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#225AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225AB3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225AB3#FFFFFF#000000##FFFFFF
##225AB31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #225ab3;
/* rgb */ color: rgb(34, 90, 179);
/* oklch */ color: oklch(48.3% 0.153 259.6);
Tailwind
colors: {
  custom: {
    50: '#7588ca',
    500: '#225ab3',
    950: '#000000',
  },
}
SCSS
$custom: #225ab3;
$custom-light: #7588ca;
$custom-dark: #000000;
JSON
{
  "hex": "#225ab3",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 216.828,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.15334,
    "h": 259.6
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#225AB3
secondary
#C9A468
accent
#A83DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #225AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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