#225897#225897

#225897 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.117 H 254.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#225897
RGBrgb(34, 88, 151)
HSLhsl(212, 63%, 36%)
HSVhsv(212, 77%, 59%)
CMYKcmyk(77.5%, 41.7%, 0%, 40.8%)
CIE-LABlab(37.03, 5.36, -39.58)
CIE-LCHlch(37.03, 39.94, 277.71°)
OKLaboklab(45.83% -0.0314 -0.1131)
OKLCHoklch(45.83% 0.117 254.5)
XYZxyz(9.7332, 9.5528, 30.6030)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225897 #976122
analogous
#229397 #225897 #272297
triadic
#225897 #972258 #589722
tetradic
#225897 #972293 #976122 #229727
square
#225897 #972293 #976122 #229727
split-complementary
#225897 #972722 #939722
monochromatic
#0C1E33 #173B65 #225897 #2D75C9 #5A95DA

Accessibility & contrast

On white

7.21
#225897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#225897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225897
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225897#FFFFFF#000000##FFFFFF
##2258971.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #225897;
/* rgb */ color: rgb(34, 88, 151);
/* oklch */ color: oklch(45.8% 0.117 254.5);
Tailwind
colors: {
  custom: {
    50: '#6f86b6',
    500: '#225897',
    950: '#000000',
  },
}
SCSS
$custom: #225897;
$custom-light: #6f86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#225897",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 212.308,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.11739,
    "h": 254.5
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

primary
#225897
secondary
#BE8E57
accent
#9A42E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225897

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

Preview Lab → · Contrast checker → · Palette generator →

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