#225796#225796

#225796 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.117 H 254.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#225796
RGBrgb(34, 87, 150)
HSLhsl(213, 63%, 36%)
HSVhsv(213, 77%, 59%)
CMYKcmyk(77.3%, 42%, 0%, 41.2%)
CIE-LABlab(36.66, 5.62, -39.56)
CIE-LCHlch(36.66, 39.96, 278.08°)
OKLaboklab(45.53% -0.0307 -0.1131)
OKLCHoklch(45.53% 0.117 254.8)
XYZxyz(9.5709, 9.3574, 30.1500)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225796 #966122
analogous
#229196 #225796 #272296
triadic
#225796 #962257 #579622
tetradic
#225796 #962291 #966122 #229627
square
#225796 #962291 #966122 #229627
split-complementary
#225796 #962722 #919622
monochromatic
#0B1D32 #173A64 #225796 #2D74C8 #5994D9

Accessibility & contrast

On white

7.31
#225796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#225796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225796
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225796#FFFFFF#000000##FFFFFF
##2257961.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #225796;
/* rgb */ color: rgb(34, 87, 150);
/* oklch */ color: oklch(45.5% 0.117 254.8);
Tailwind
colors: {
  custom: {
    50: '#6e85b5',
    500: '#225796',
    950: '#000000',
  },
}
SCSS
$custom: #225796;
$custom-light: #6e85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#225796",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 212.586,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.11717,
    "h": 254.8
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#225796
secondary
#BE8E56
accent
#9B42E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225796

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

Preview Lab → · Contrast checker → · Palette generator →

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