#225786#225786

#225786 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.095 H 248.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#225786
RGBrgb(34, 87, 134)
HSLhsl(208, 60%, 33%)
HSVhsv(208, 75%, 53%)
CMYKcmyk(74.6%, 35.1%, 0%, 47.5%)
CIE-LABlab(35.75, -0.60, -31.30)
CIE-LCHlch(35.75, 31.30, 268.90°)
OKLaboklab(44.51% -0.0349 -0.0889)
OKLCHoklch(44.51% 0.095 248.5)
XYZxyz(8.3693, 8.8768, 23.8219)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225786 #865122
analogous
#228683 #225786 #222586
triadic
#225786 #862257 #578622
tetradic
#225786 #832286 #865122 #258622
square
#225786 #832286 #865122 #258622
split-complementary
#225786 #862225 #868322
monochromatic
#091824 #163755 #225786 #2E77B7 #5095D3

Accessibility & contrast

On white

7.57
#225786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#225786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225786
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225786#FFFFFF#000000##FFFFFF
##2257861.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#335085
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225786;
/* rgb */ color: rgb(34, 87, 134);
/* oklch */ color: oklch(44.5% 0.095 248.5);
Tailwind
colors: {
  custom: {
    50: '#6b86a9',
    500: '#225786',
    950: '#000000',
  },
}
SCSS
$custom: #225786;
$custom-light: #6b86a9;
$custom-dark: #000000;
JSON
{
  "hex": "#225786",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 208.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.09549,
    "h": 248.5
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#225786
secondary
#B67F4E
accent
#8F45E3
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #225786

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

Preview Lab → · Contrast checker → · Palette generator →

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