#225197#225197

#225197 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.2% C 0.126 H 258.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#225197
RGBrgb(34, 81, 151)
HSLhsl(216, 63%, 36%)
HSVhsv(216, 77%, 59%)
CMYKcmyk(77.5%, 46.4%, 0%, 40.8%)
CIE-LABlab(34.92, 9.97, -42.95)
CIE-LCHlch(34.92, 44.10, 283.07°)
OKLaboklab(44.2% -0.0251 -0.1232)
OKLCHoklch(44.2% 0.126 258.5)
XYZxyz(9.1860, 8.4583, 30.4206)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225197 #976822
analogous
#228C97 #225197 #2D2297
triadic
#225197 #972251 #519722
tetradic
#225197 #97228C #976822 #22972D
square
#225197 #97228C #976822 #22972D
split-complementary
#225197 #972D22 #8C9722
monochromatic
#0C1B33 #173665 #225197 #2D6CC9 #5A8DDA

Accessibility & contrast

On white

7.80
#225197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225197
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225197#FFFFFF#000000##FFFFFF
##2251971.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225197;
/* rgb */ color: rgb(34, 81, 151);
/* oklch */ color: oklch(44.2% 0.126 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f81b6',
    500: '#225197',
    950: '#000000',
  },
}
SCSS
$custom: #225197;
$custom-light: #6f81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#225197",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 215.897,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.1257,
    "h": 258.5
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#225197
secondary
#BE9557
accent
#A442E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225197

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

Preview Lab → · Contrast checker → · Palette generator →

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