#225270#225270

#225270 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.072 H 239.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#225270
RGBrgb(34, 82, 112)
HSLhsl(203, 53%, 29%)
HSVhsv(203, 70%, 44%)
CMYKcmyk(69.6%, 26.8%, 0%, 56.1%)
CIE-LABlab(33.01, -5.75, -21.98)
CIE-LCHlch(33.01, 22.72, 255.34°)
OKLaboklab(41.98% -0.0369 -0.0618)
OKLCHoklch(41.98% 0.072 239.2)
XYZxyz(6.6005, 7.5438, 16.4343)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225270 #704022
analogous
#227067 #225270 #222B70
triadic
#225270 #702252 #527022
tetradic
#225270 #672270 #704022 #2B7022
square
#225270 #672270 #704022 #2B7022
split-complementary
#225270 #70222B #706722
monochromatic
#071117 #143041 #225270 #30749F #4695C7

Accessibility & contrast

On white

8.37
#225270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225270
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225270#FFFFFF#000000##FFFFFF
##2252701.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#005A5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #225270;
/* rgb */ color: rgb(34, 82, 112);
/* oklch */ color: oklch(42.0% 0.072 239.2);
Tailwind
colors: {
  custom: {
    50: '#678299',
    500: '#225270',
    950: '#000000',
  },
}
SCSS
$custom: #225270;
$custom-light: #678299;
$custom-dark: #000000;
JSON
{
  "hex": "#225270",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 112
  },
  "hsl": {
    "h": 203.077,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.07198,
    "h": 239.2
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#225270
secondary
#A36D4A
accent
#834BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #225270

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

Preview Lab → · Contrast checker → · Palette generator →

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