#225172#225172

#225172 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.075 H 242.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#225172
RGBrgb(34, 81, 114)
HSLhsl(205, 54%, 29%)
HSVhsv(205, 70%, 45%)
CMYKcmyk(70.2%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.79, -4.38, -23.59)
CIE-LCHlch(32.79, 23.99, 259.49°)
OKLaboklab(41.84% -0.035 -0.0665)
OKLCHoklch(41.84% 0.075 242.2)
XYZxyz(6.6382, 7.4391, 17.0024)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225172 #724322
analogous
#22726B #225172 #222972
triadic
#225172 #722251 #517222
tetradic
#225172 #6B2272 #724322 #297222
square
#225172 #6B2272 #724322 #297222
split-complementary
#225172 #722229 #726B22
monochromatic
#071118 #143043 #225172 #3072A1 #4693C8

Accessibility & contrast

On white

8.44
#225172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#225172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225172
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225172#FFFFFF#000000##FFFFFF
##2251721.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425173
Deuteranopia (green-blind)
#374A71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #225172;
/* rgb */ color: rgb(34, 81, 114);
/* oklch */ color: oklch(41.8% 0.075 242.2);
Tailwind
colors: {
  custom: {
    50: '#67819a',
    500: '#225172',
    950: '#000000',
  },
}
SCSS
$custom: #225172;
$custom-light: #67819a;
$custom-dark: #000000;
JSON
{
  "hex": "#225172",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 204.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.07514,
    "h": 242.2
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#225172
secondary
#A5704B
accent
#874ADD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #225172

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

Preview Lab → · Contrast checker → · Palette generator →

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