#225271#225271

#225271 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.0% C 0.073 H 240.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#225271
RGBrgb(34, 82, 113)
HSLhsl(204, 54%, 29%)
HSVhsv(204, 70%, 44%)
CMYKcmyk(69.9%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.06, -5.38, -22.53)
CIE-LCHlch(33.06, 23.16, 256.57°)
OKLaboklab(42.04% -0.0365 -0.0634)
OKLCHoklch(42.04% 0.073 240.1)
XYZxyz(6.6565, 7.5662, 16.7292)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225271 #714122
analogous
#227169 #225271 #222B71
triadic
#225271 #712252 #527122
tetradic
#225271 #692271 #714122 #2B7122
square
#225271 #692271 #714122 #2B7122
split-complementary
#225271 #71222B #716922
monochromatic
#071118 #143042 #225271 #3074A0 #4695C7

Accessibility & contrast

On white

8.36
#225271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#225271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225271
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225271#FFFFFF#000000##FFFFFF
##2252711.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #225271;
/* rgb */ color: rgb(34, 82, 113);
/* oklch */ color: oklch(42.0% 0.073 240.1);
Tailwind
colors: {
  custom: {
    50: '#67829a',
    500: '#225271',
    950: '#000000',
  },
}
SCSS
$custom: #225271;
$custom-light: #67829a;
$custom-dark: #000000;
JSON
{
  "hex": "#225271",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 203.544,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.07317,
    "h": 240.1
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#225271
secondary
#A46E4A
accent
#844BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #225271

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

Preview Lab → · Contrast checker → · Palette generator →

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