#225782#225782

#225782 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.090 H 246.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#225782
RGBrgb(34, 87, 130)
HSLhsl(207, 59%, 32%)
HSVhsv(207, 74%, 51%)
CMYKcmyk(73.8%, 33.1%, 0%, 49%)
CIE-LABlab(35.53, -2.13, -29.18)
CIE-LCHlch(35.53, 29.26, 265.83°)
OKLaboklab(44.27% -0.0362 -0.0827)
OKLCHoklch(44.27% 0.09 246.4)
XYZxyz(8.0956, 8.7673, 22.3804)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225782 #824D22
analogous
#22827D #225782 #222782
triadic
#225782 #822257 #578222
tetradic
#225782 #7D2282 #824D22 #278222
square
#225782 #7D2282 #824D22 #278222
split-complementary
#225782 #822227 #827D22
monochromatic
#091621 #153751 #225782 #2F77B3 #4E96D1

Accessibility & contrast

On white

7.63
#225782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225782
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225782#FFFFFF#000000##FFFFFF
##2257821.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445984
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225782;
/* rgb */ color: rgb(34, 87, 130);
/* oklch */ color: oklch(44.3% 0.090 246.4);
Tailwind
colors: {
  custom: {
    50: '#6a86a6',
    500: '#225782',
    950: '#000000',
  },
}
SCSS
$custom: #225782;
$custom-light: #6a86a6;
$custom-dark: #000000;
JSON
{
  "hex": "#225782",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 206.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44273,
    "c": 0.09026,
    "h": 246.4
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#225782
secondary
#B47A4C
accent
#8C46E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #225782

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

Preview Lab → · Contrast checker → · Palette generator →

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