#225FB9#225FB9

#225FB9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.155 H 258.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#225FB9
RGBrgb(34, 95, 185)
HSLhsl(216, 69%, 43%)
HSVhsv(216, 82%, 73%)
CMYKcmyk(81.6%, 48.6%, 0%, 27.5%)
CIE-LABlab(41.26, 14.12, -52.96)
CIE-LCHlch(41.26, 54.81, 284.92°)
OKLaboklab(49.8% -0.0307 -0.1523)
OKLCHoklch(49.8% 0.155 258.6)
XYZxyz(13.5056, 12.0256, 47.4989)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225FB9 #B97C22
analogous
#22AAB9 #225FB9 #3122B9
triadic
#225FB9 #B9225F #5FB922
tetradic
#225FB9 #B922AA #B97C22 #22B931
square
#225FB9 #B922AA #B97C22 #22B931
split-complementary
#225FB9 #B93122 #AAB922
monochromatic
#0F2A52 #184485 #225FB9 #3D7DDB #71A0E5

Accessibility & contrast

On white

6.17
#225FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#225FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225FB9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225FB9#FFFFFF#000000##FFFFFF
##225FB91.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #225fb9;
/* rgb */ color: rgb(34, 95, 185);
/* oklch */ color: oklch(49.8% 0.155 258.6);
Tailwind
colors: {
  custom: {
    50: '#768bcf',
    500: '#225fb9',
    950: '#000000',
  },
}
SCSS
$custom: #225fb9;
$custom-light: #768bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#225fb9",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 215.762,
    "s": 68.95,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49798,
    "c": 0.1554,
    "h": 258.6
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#225FB9
secondary
#CBA56B
accent
#A53CEC
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #225FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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