#225171#225171

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

Color values

HEX#225171
RGBrgb(34, 81, 113)
HSLhsl(204, 54%, 29%)
HSVhsv(204, 70%, 44%)
CMYKcmyk(69.9%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.74, -4.75, -23.04)
CIE-LCHlch(32.74, 23.52, 258.35°)
OKLaboklab(41.78% -0.0354 -0.0649)
OKLCHoklch(41.78% 0.074 241.4)
XYZxyz(6.5816, 7.4165, 16.7043)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225171 #714222
analogous
#22716A #225171 #222A71
triadic
#225171 #712251 #517122
tetradic
#225171 #6A2271 #714222 #2A7122
square
#225171 #6A2271 #714222 #2A7122
split-complementary
#225171 #71222A #716A22
monochromatic
#071118 #142F42 #225171 #3073A0 #4693C7

Accessibility & contrast

On white

8.46
#225171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225171
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225171#FFFFFF#000000##FFFFFF
##2251711.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #225171;
/* rgb */ color: rgb(34, 81, 113);
/* oklch */ color: oklch(41.8% 0.074 241.4);
Tailwind
colors: {
  custom: {
    50: '#67819a',
    500: '#225171',
    950: '#000000',
  },
}
SCSS
$custom: #225171;
$custom-light: #67819a;
$custom-dark: #000000;
JSON
{
  "hex": "#225171",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 204.304,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.07391,
    "h": 241.4
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#225171
secondary
#A46F4A
accent
#864BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #225171

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

Preview Lab → · Contrast checker → · Palette generator →

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