#225998#225998

#225998 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.118 H 254.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#225998
RGBrgb(34, 89, 152)
HSLhsl(212, 63%, 36%)
HSVhsv(212, 78%, 60%)
CMYKcmyk(77.6%, 41.4%, 0%, 40.4%)
CIE-LABlab(37.39, 5.10, -39.60)
CIE-LCHlch(37.39, 39.93, 277.34°)
OKLaboklab(46.13% -0.0321 -0.1132)
OKLCHoklch(46.13% 0.118 254.2)
XYZxyz(9.8975, 9.7507, 31.0601)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225998 #986122
analogous
#229498 #225998 #262298
triadic
#225998 #982259 #599822
tetradic
#225998 #982294 #986122 #229826
square
#225998 #982294 #986122 #229826
split-complementary
#225998 #982622 #949822
monochromatic
#0C1E34 #173C66 #225998 #2D76CA #5A96DA

Accessibility & contrast

On white

7.12
#225998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#225998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225998
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225998#FFFFFF#000000##FFFFFF
##2259981.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #225998;
/* rgb */ color: rgb(34, 89, 152);
/* oklch */ color: oklch(46.1% 0.118 254.2);
Tailwind
colors: {
  custom: {
    50: '#6f87b7',
    500: '#225998',
    950: '#000000',
  },
}
SCSS
$custom: #225998;
$custom-light: #6f87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225998",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 212.034,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.11762,
    "h": 254.2
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#225998
secondary
#BE8E57
accent
#9941E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225998

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

Preview Lab → · Contrast checker → · Palette generator →

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