#225781#225781

#225781 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.089 H 245.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#225781
RGBrgb(34, 87, 129)
HSLhsl(207, 58%, 32%)
HSVhsv(207, 74%, 51%)
CMYKcmyk(73.6%, 32.6%, 0%, 49.4%)
CIE-LABlab(35.48, -2.51, -28.65)
CIE-LCHlch(35.48, 28.76, 264.99°)
OKLaboklab(44.21% -0.0365 -0.0811)
OKLCHoklch(44.21% 0.089 245.8)
XYZxyz(8.0288, 8.7406, 22.0286)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225781 #814C22
analogous
#22817C #225781 #222881
triadic
#225781 #812257 #578122
tetradic
#225781 #7C2281 #814C22 #288122
square
#225781 #7C2281 #814C22 #288122
split-complementary
#225781 #812228 #817C22
monochromatic
#081620 #153651 #225781 #2F78B1 #4D96D0

Accessibility & contrast

On white

7.64
#225781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#225781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225781
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225781#FFFFFF#000000##FFFFFF
##2257811.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445883
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225781;
/* rgb */ color: rgb(34, 87, 129);
/* oklch */ color: oklch(44.2% 0.089 245.8);
Tailwind
colors: {
  custom: {
    50: '#6a86a6',
    500: '#225781',
    950: '#000000',
  },
}
SCSS
$custom: #225781;
$custom-light: #6a86a6;
$custom-dark: #000000;
JSON
{
  "hex": "#225781",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 206.526,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.08897,
    "h": 245.8
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#225781
secondary
#B3794B
accent
#8B46E1
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #225781

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

Preview Lab → · Contrast checker → · Palette generator →

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