#225299#225299

#225299 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.127 H 258.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#225299
RGBrgb(34, 82, 153)
HSLhsl(216, 64%, 37%)
HSVhsv(216, 78%, 60%)
CMYKcmyk(77.8%, 46.4%, 0%, 40%)
CIE-LABlab(35.35, 10.10, -43.48)
CIE-LCHlch(35.35, 44.63, 283.08°)
OKLaboklab(44.57% -0.0256 -0.1247)
OKLCHoklch(44.57% 0.127 258.4)
XYZxyz(9.4246, 8.6735, 31.3083)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225299 #996922
analogous
#228E99 #225299 #2E2299
triadic
#225299 #992252 #529922
tetradic
#225299 #99228E #996922 #22992E
square
#225299 #99228E #996922 #22992E
split-complementary
#225299 #992E22 #8E9922
monochromatic
#0C1C35 #173767 #225299 #2D6DCB #5B8EDB

Accessibility & contrast

On white

7.68
#225299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#225299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225299
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225299#FFFFFF#000000##FFFFFF
##2252991.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#124E98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225299;
/* rgb */ color: rgb(34, 82, 153);
/* oklch */ color: oklch(44.6% 0.127 258.4);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#225299',
    950: '#000000',
  },
}
SCSS
$custom: #225299;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225299",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 215.798,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.12728,
    "h": 258.4
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#225299
secondary
#BF9558
accent
#A441E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225299

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

Preview Lab → · Contrast checker → · Palette generator →

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