#225096#225096

#225096 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.126 H 258.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#225096
RGBrgb(34, 80, 150)
HSLhsl(216, 63%, 36%)
HSVhsv(216, 77%, 59%)
CMYKcmyk(77.3%, 46.7%, 0%, 41.2%)
CIE-LABlab(34.56, 10.25, -42.93)
CIE-LCHlch(34.56, 44.14, 283.42°)
OKLaboklab(43.9% -0.0244 -0.1231)
OKLCHoklch(43.9% 0.126 258.8)
XYZxyz(9.0314, 8.2784, 29.9702)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225096 #966822
analogous
#228A96 #225096 #2E2296
triadic
#225096 #962250 #509622
tetradic
#225096 #96228A #966822 #22962E
square
#225096 #96228A #966822 #22962E
split-complementary
#225096 #962E22 #8A9622
monochromatic
#0B1B32 #173564 #225096 #2D6BC8 #598CD9

Accessibility & contrast

On white

7.91
#225096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#225096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225096
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225096#FFFFFF#000000##FFFFFF
##2250961.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#104C95
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #225096;
/* rgb */ color: rgb(34, 80, 150);
/* oklch */ color: oklch(43.9% 0.126 258.8);
Tailwind
colors: {
  custom: {
    50: '#6f80b5',
    500: '#225096',
    950: '#000000',
  },
}
SCSS
$custom: #225096;
$custom-light: #6f80b5;
$custom-dark: #000000;
JSON
{
  "hex": "#225096",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 150
  },
  "hsl": {
    "h": 216.207,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.12551,
    "h": 258.8
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#225096
secondary
#BE9556
accent
#A542E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225096

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

Preview Lab → · Contrast checker → · Palette generator →

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