#225997#225997

#225997 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.116 H 253.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#225997
RGBrgb(34, 89, 151)
HSLhsl(212, 63%, 36%)
HSVhsv(212, 77%, 59%)
CMYKcmyk(77.5%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.33, 4.71, -39.10)
CIE-LCHlch(37.33, 39.38, 276.87°)
OKLaboklab(46.07% -0.0323 -0.1117)
OKLCHoklch(46.07% 0.116 253.9)
XYZxyz(9.8159, 9.7181, 30.6306)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225997 #976022
analogous
#229497 #225997 #262297
triadic
#225997 #972259 #599722
tetradic
#225997 #972294 #976022 #229726
square
#225997 #972294 #976022 #229726
split-complementary
#225997 #972622 #949722
monochromatic
#0C1E33 #173C65 #225997 #2D76C9 #5A96DA

Accessibility & contrast

On white

7.13
#225997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#225997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225997
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225997#FFFFFF#000000##FFFFFF
##2259971.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E99
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #225997;
/* rgb */ color: rgb(34, 89, 151);
/* oklch */ color: oklch(46.1% 0.116 253.9);
Tailwind
colors: {
  custom: {
    50: '#6f87b6',
    500: '#225997',
    950: '#000000',
  },
}
SCSS
$custom: #225997;
$custom-light: #6f87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#225997",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 211.795,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46067,
    "c": 0.11625,
    "h": 253.9
  },
  "luminance": 0.09719
}

Semantic roles & 50–950 ramp

primary
#225997
secondary
#BE8D57
accent
#9942E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225997

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

Preview Lab → · Contrast checker → · Palette generator →

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