#224F87#224F87

#224F87 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.106 H 255.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#224F87
RGBrgb(34, 79, 135)
HSLhsl(213, 60%, 33%)
HSVhsv(213, 75%, 53%)
CMYKcmyk(74.8%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.31, 5.00, -35.78)
CIE-LCHlch(33.31, 36.12, 277.95°)
OKLaboklab(42.62% -0.0266 -0.1021)
OKLCHoklch(42.62% 0.106 255.4)
XYZxyz(7.8272, 7.6805, 23.9869)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F87 #875A22
analogous
#228187 #224F87 #272287
triadic
#224F87 #87224F #4F8722
tetradic
#224F87 #872281 #875A22 #228727
square
#224F87 #872281 #875A22 #228727
split-complementary
#224F87 #872722 #818722
monochromatic
#091625 #163256 #224F87 #2E6CB8 #508BD3

Accessibility & contrast

On white

8.28
#224F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#224F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F87
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F87#FFFFFF#000000##FFFFFF
##224F871.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355389
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #224f87;
/* rgb */ color: rgb(34, 79, 135);
/* oklch */ color: oklch(42.6% 0.106 255.4);
Tailwind
colors: {
  custom: {
    50: '#6b7faa',
    500: '#224f87',
    950: '#000000',
  },
}
SCSS
$custom: #224f87;
$custom-light: #6b7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#224f87",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 213.267,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.10553,
    "h": 255.4
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#224F87
secondary
#B7884E
accent
#9D45E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #224F87

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

Preview Lab → · Contrast checker → · Palette generator →

#224F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva