#225CB1#225CB1

#225CB1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.148 H 258.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#225CB1
RGBrgb(34, 92, 177)
HSLhsl(216, 68%, 41%)
HSVhsv(216, 81%, 69%)
CMYKcmyk(80.8%, 48%, 0%, 30.6%)
CIE-LABlab(39.86, 12.94, -50.52)
CIE-LCHlch(39.86, 52.15, 284.37°)
OKLaboklab(48.55% -0.0296 -0.1452)
OKLCHoklch(48.55% 0.148 258.5)
XYZxyz(12.4197, 11.1672, 43.0874)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225CB1 #B17722
analogous
#22A4B1 #225CB1 #2F22B1
triadic
#225CB1 #B1225C #5CB122
tetradic
#225CB1 #B122A4 #B17722 #22B12F
square
#225CB1 #B122A4 #B17722 #22B12F
split-complementary
#225CB1 #B12F22 #A4B122
monochromatic
#0E274A #18417E #225CB1 #3879D9 #6B9BE3

Accessibility & contrast

On white

6.49
#225CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#225CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225CB1
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225CB1#FFFFFF#000000##FFFFFF
##225CB11.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B4
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #225cb1;
/* rgb */ color: rgb(34, 92, 177);
/* oklch */ color: oklch(48.6% 0.148 258.5);
Tailwind
colors: {
  custom: {
    50: '#7489c9',
    500: '#225cb1',
    950: '#000000',
  },
}
SCSS
$custom: #225cb1;
$custom-light: #7489c9;
$custom-dark: #000000;
JSON
{
  "hex": "#225cb1",
  "rgb": {
    "r": 34,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 215.664,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.14821,
    "h": 258.5
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#225CB1
secondary
#C9A166
accent
#A43DEB
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #225CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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