#225877#225877

#225877 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 43.9% C 0.076 H 237.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#225877
RGBrgb(34, 88, 119)
HSLhsl(202, 56%, 30%)
HSVhsv(202, 71%, 47%)
CMYKcmyk(71.4%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.30, -6.88, -22.77)
CIE-LCHlch(35.30, 23.79, 253.18°)
OKLaboklab(43.91% -0.041 -0.0641)
OKLCHoklch(43.91% 0.076 237.4)
XYZxyz(7.4779, 8.6506, 18.7248)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225877 #774122
analogous
#22776B #225877 #222E77
triadic
#225877 #772258 #587722
tetradic
#225877 #6B2277 #774122 #2E7722
square
#225877 #6B2277 #774122 #2E7722
split-complementary
#225877 #77222E #776B22
monochromatic
#071218 #143547 #225877 #307BA7 #499BCB

Accessibility & contrast

On white

7.69
#225877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225877
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225877#FFFFFF#000000##FFFFFF
##2258771.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495878
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225877;
/* rgb */ color: rgb(34, 88, 119);
/* oklch */ color: oklch(43.9% 0.076 237.4);
Tailwind
colors: {
  custom: {
    50: '#68879e',
    500: '#225877',
    950: '#000000',
  },
}
SCSS
$custom: #225877;
$custom-light: #68879e;
$custom-dark: #000000;
JSON
{
  "hex": "#225877",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 201.882,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.07608,
    "h": 237.4
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#225877
secondary
#AA6E4B
accent
#8049DF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #225877

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

Preview Lab → · Contrast checker → · Palette generator →

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