#225BB1#225BB1

#225BB1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.149 H 258.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#225BB1
RGBrgb(34, 91, 177)
HSLhsl(216, 68%, 41%)
HSVhsv(216, 81%, 69%)
CMYKcmyk(80.8%, 48.6%, 0%, 30.6%)
CIE-LABlab(39.57, 13.60, -50.99)
CIE-LCHlch(39.57, 52.77, 284.94°)
OKLaboklab(48.33% -0.0289 -0.1466)
OKLCHoklch(48.33% 0.149 258.9)
XYZxyz(12.3337, 10.9951, 43.0587)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225BB1 #B17822
analogous
#22A3B1 #225BB1 #3122B1
triadic
#225BB1 #B1225B #5BB122
tetradic
#225BB1 #B122A3 #B17822 #22B131
square
#225BB1 #B122A3 #B17822 #22B131
split-complementary
#225BB1 #B13122 #A3B122
monochromatic
#0E264A #18417E #225BB1 #3878D9 #6B9BE3

Accessibility & contrast

On white

6.56
#225BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#225BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225BB1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225BB1#FFFFFF#000000##FFFFFF
##225BB11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #225bb1;
/* rgb */ color: rgb(34, 91, 177);
/* oklch */ color: oklch(48.3% 0.149 258.9);
Tailwind
colors: {
  custom: {
    50: '#7588c9',
    500: '#225bb1',
    950: '#000000',
  },
}
SCSS
$custom: #225bb1;
$custom-light: #7588c9;
$custom-dark: #000000;
JSON
{
  "hex": "#225bb1",
  "rgb": {
    "r": 34,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 216.084,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.14942,
    "h": 258.9
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#225BB1
secondary
#C9A166
accent
#A53DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #225BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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