#225887#225887

#225887 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.096 H 248.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#225887
RGBrgb(34, 88, 135)
HSLhsl(208, 60%, 33%)
HSVhsv(208, 75%, 53%)
CMYKcmyk(74.8%, 34.8%, 0%, 47.1%)
CIE-LABlab(36.11, -0.85, -31.33)
CIE-LCHlch(36.11, 31.34, 268.44°)
OKLaboklab(44.82% -0.0357 -0.0889)
OKLCHoklch(44.82% 0.096 248.1)
XYZxyz(8.5209, 9.0678, 24.2182)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225887 #875122
analogous
#228783 #225887 #222587
triadic
#225887 #872258 #588722
tetradic
#225887 #832287 #875122 #258722
square
#225887 #832287 #875122 #258722
split-complementary
#225887 #872225 #878322
monochromatic
#091825 #163856 #225887 #2E78B8 #5096D3

Accessibility & contrast

On white

7.46
#225887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#225887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225887
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225887#FFFFFF#000000##FFFFFF
##2258871.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #225887;
/* rgb */ color: rgb(34, 88, 135);
/* oklch */ color: oklch(44.8% 0.096 248.1);
Tailwind
colors: {
  custom: {
    50: '#6b86aa',
    500: '#225887',
    950: '#000000',
  },
}
SCSS
$custom: #225887;
$custom-light: #6b86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#225887",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 207.921,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44818,
    "c": 0.09582,
    "h": 248.1
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#225887
secondary
#B77F4E
accent
#8E45E3
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #225887

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

Preview Lab → · Contrast checker → · Palette generator →

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