#225771#225771

#225771 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.3% C 0.070 H 233.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#225771
RGBrgb(34, 87, 113)
HSLhsl(200, 54%, 29%)
HSVhsv(200, 70%, 44%)
CMYKcmyk(69.9%, 23%, 0%, 55.7%)
CIE-LABlab(34.70, -8.47, -19.99)
CIE-LCHlch(34.70, 21.71, 247.04°)
OKLaboklab(43.34% -0.0422 -0.0561)
OKLCHoklch(43.34% 0.07 233)
XYZxyz(7.0473, 8.3480, 16.8595)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225771 #713C22
analogous
#227164 #225771 #223071
triadic
#225771 #712257 #577122
tetradic
#225771 #642271 #713C22 #307122
square
#225771 #642271 #713C22 #307122
split-complementary
#225771 #712230 #716422
monochromatic
#071218 #143342 #225771 #307BA0 #469DC7

Accessibility & contrast

On white

7.87
#225771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#225771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225771
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225771#FFFFFF#000000##FFFFFF
##2257711.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#005E60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225771;
/* rgb */ color: rgb(34, 87, 113);
/* oklch */ color: oklch(43.3% 0.070 233.0);
Tailwind
colors: {
  custom: {
    50: '#67869a',
    500: '#225771',
    950: '#000000',
  },
}
SCSS
$custom: #225771;
$custom-light: #67869a;
$custom-dark: #000000;
JSON
{
  "hex": "#225771",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 113
  },
  "hsl": {
    "h": 199.747,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.07017,
    "h": 233
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#225771
secondary
#A4684A
accent
#7B4BDD
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #225771

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

Preview Lab → · Contrast checker → · Palette generator →

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