#225CBB#225CBB

#225CBB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.162 H 260.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#225CBB
RGBrgb(34, 92, 187)
HSLhsl(217, 69%, 43%)
HSVhsv(217, 82%, 73%)
CMYKcmyk(81.8%, 50.8%, 0%, 26.7%)
CIE-LABlab(40.54, 16.86, -55.29)
CIE-LCHlch(40.54, 57.80, 286.96°)
OKLaboklab(49.29% -0.0282 -0.1592)
OKLCHoklch(49.29% 0.162 260)
XYZxyz(13.4532, 11.5806, 48.5303)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225CBB #BB8122
analogous
#22A8BB #225CBB #3422BB
triadic
#225CBB #BB225C #5CBB22
tetradic
#225CBB #BB22A8 #BB8122 #22BB34
square
#225CBB #BB22A8 #BB8122 #22BB34
split-complementary
#225CBB #BB3422 #A8BB22
monochromatic
#0F2953 #194387 #225CBB #3E7ADC #729EE5

Accessibility & contrast

On white

6.33
#225CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#225CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #225CBB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225CBB#FFFFFF#000000##FFFFFF
##225CBB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #225cbb;
/* rgb */ color: rgb(34, 92, 187);
/* oklch */ color: oklch(49.3% 0.162 260.0);
Tailwind
colors: {
  custom: {
    50: '#7789d0',
    500: '#225cbb',
    950: '#000000',
  },
}
SCSS
$custom: #225cbb;
$custom-light: #7789d0;
$custom-dark: #000000;
JSON
{
  "hex": "#225cbb",
  "rgb": {
    "r": 34,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 217.255,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49293,
    "c": 0.1617,
    "h": 260
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#225CBB
secondary
#CCA86D
accent
#A93CEC
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #225CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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