#225170#225170

#225170 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.073 H 240.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#225170
RGBrgb(34, 81, 112)
HSLhsl(204, 53%, 29%)
HSVhsv(204, 70%, 44%)
CMYKcmyk(69.6%, 27.7%, 0%, 56.1%)
CIE-LABlab(32.69, -5.12, -22.49)
CIE-LCHlch(32.69, 23.06, 257.17°)
OKLaboklab(41.73% -0.0357 -0.0633)
OKLCHoklch(41.73% 0.073 240.6)
XYZxyz(6.5256, 7.3941, 16.4094)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225170 #704122
analogous
#227068 #225170 #222A70
triadic
#225170 #702251 #517022
tetradic
#225170 #682270 #704122 #2A7022
square
#225170 #682270 #704122 #2A7022
split-complementary
#225170 #70222A #706822
monochromatic
#071117 #142F41 #225170 #30739F #4693C7

Accessibility & contrast

On white

8.47
#225170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#225170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225170
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225170#FFFFFF#000000##FFFFFF
##2251701.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435171
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #225170;
/* rgb */ color: rgb(34, 81, 112);
/* oklch */ color: oklch(41.7% 0.073 240.6);
Tailwind
colors: {
  custom: {
    50: '#678199',
    500: '#225170',
    950: '#000000',
  },
}
SCSS
$custom: #225170;
$custom-light: #678199;
$custom-dark: #000000;
JSON
{
  "hex": "#225170",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 203.846,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.07269,
    "h": 240.6
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#225170
secondary
#A36E4A
accent
#854BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #225170

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

Preview Lab → · Contrast checker → · Palette generator →

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