#225CB3#225CB3

#225CB3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.151 H 258.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#225CB3
RGBrgb(34, 92, 179)
HSLhsl(216, 68%, 42%)
HSVhsv(216, 81%, 70%)
CMYKcmyk(81%, 48.6%, 0%, 29.8%)
CIE-LABlab(39.99, 13.73, -51.48)
CIE-LCHlch(39.99, 53.28, 284.93°)
OKLaboklab(48.7% -0.0293 -0.148)
OKLCHoklch(48.7% 0.151 258.8)
XYZxyz(12.6205, 11.2475, 44.1449)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225CB3 #B37922
analogous
#22A5B3 #225CB3 #3122B3
triadic
#225CB3 #B3225C #5CB322
tetradic
#225CB3 #B322A5 #B37922 #22B331
square
#225CB3 #B322A5 #B37922 #22B331
split-complementary
#225CB3 #B33122 #A5B322
monochromatic
#0E274C #184280 #225CB3 #3979D9 #6C9CE3

Accessibility & contrast

On white

6.46
#225CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#225CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225CB3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225CB3#FFFFFF#000000##FFFFFF
##225CB31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #225cb3;
/* rgb */ color: rgb(34, 92, 179);
/* oklch */ color: oklch(48.7% 0.151 258.8);
Tailwind
colors: {
  custom: {
    50: '#7589ca',
    500: '#225cb3',
    950: '#000000',
  },
}
SCSS
$custom: #225cb3;
$custom-light: #7589ca;
$custom-dark: #000000;
JSON
{
  "hex": "#225cb3",
  "rgb": {
    "r": 34,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 216,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.15092,
    "h": 258.8
  },
  "luminance": 0.11249
}

Semantic roles & 50–950 ramp

primary
#225CB3
secondary
#C9A268
accent
#A53DEB
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #225CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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