#225187#225187

#225187 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.103 H 253.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#225187
RGBrgb(34, 81, 135)
HSLhsl(212, 60%, 33%)
HSVhsv(212, 75%, 53%)
CMYKcmyk(74.8%, 40%, 0%, 47.1%)
CIE-LABlab(33.93, 3.68, -34.79)
CIE-LCHlch(33.93, 34.99, 276.04°)
OKLaboklab(43.11% -0.0286 -0.0992)
OKLCHoklch(43.11% 0.103 253.9)
XYZxyz(7.9737, 7.9733, 24.0357)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225187 #875822
analogous
#228387 #225187 #252287
triadic
#225187 #872251 #518722
tetradic
#225187 #872283 #875822 #228725
square
#225187 #872283 #875822 #228725
split-complementary
#225187 #872522 #838722
monochromatic
#091625 #163456 #225187 #2E6EB8 #508DD3

Accessibility & contrast

On white

8.09
#225187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#225187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225187
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225187#FFFFFF#000000##FFFFFF
##2251871.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #225187;
/* rgb */ color: rgb(34, 81, 135);
/* oklch */ color: oklch(43.1% 0.103 253.9);
Tailwind
colors: {
  custom: {
    50: '#6b81aa',
    500: '#225187',
    950: '#000000',
  },
}
SCSS
$custom: #225187;
$custom-light: #6b81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#225187",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 212.079,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43105,
    "c": 0.10323,
    "h": 253.9
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#225187
secondary
#B7864E
accent
#9945E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #225187

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

Preview Lab → · Contrast checker → · Palette generator →

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