#225196#225196

#225196 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.1% C 0.124 H 258.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#225196
RGBrgb(34, 81, 150)
HSLhsl(216, 63%, 36%)
HSVhsv(216, 77%, 59%)
CMYKcmyk(77.3%, 46%, 0%, 41.2%)
CIE-LABlab(34.85, 9.58, -42.45)
CIE-LCHlch(34.85, 43.52, 282.72°)
OKLaboklab(44.13% -0.0253 -0.1217)
OKLCHoklch(44.13% 0.124 258.3)
XYZxyz(9.1051, 8.4259, 29.9947)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225196 #966722
analogous
#228B96 #225196 #2D2296
triadic
#225196 #962251 #519622
tetradic
#225196 #96228B #966722 #22962D
square
#225196 #96228B #966722 #22962D
split-complementary
#225196 #962D22 #8B9622
monochromatic
#0B1B32 #173664 #225196 #2D6CC8 #598DD9

Accessibility & contrast

On white

7.82
#225196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#225196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225196
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225196#FFFFFF#000000##FFFFFF
##2251961.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225196;
/* rgb */ color: rgb(34, 81, 150);
/* oklch */ color: oklch(44.1% 0.124 258.3);
Tailwind
colors: {
  custom: {
    50: '#6f81b5',
    500: '#225196',
    950: '#000000',
  },
}
SCSS
$custom: #225196;
$custom-light: #6f81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#225196",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 215.69,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44125,
    "c": 0.12429,
    "h": 258.3
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#225196
secondary
#BE9456
accent
#A342E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225196

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

Preview Lab → · Contrast checker → · Palette generator →

#225196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva