#225792#225792

#225792 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.3% C 0.112 H 253.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#225792
RGBrgb(34, 87, 146)
HSLhsl(212, 62%, 35%)
HSVhsv(212, 77%, 57%)
CMYKcmyk(76.7%, 40.4%, 0%, 42.7%)
CIE-LABlab(36.42, 4.05, -37.52)
CIE-LCHlch(36.42, 37.74, 276.17°)
OKLaboklab(45.26% -0.0317 -0.1071)
OKLCHoklch(45.26% 0.112 253.5)
XYZxyz(9.2543, 9.2307, 28.4825)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225792 #925D22
analogous
#228F92 #225792 #252292
triadic
#225792 #922257 #579222
tetradic
#225792 #92228F #925D22 #229225
square
#225792 #92228F #925D22 #229225
split-complementary
#225792 #922522 #8F9222
monochromatic
#0B1C2F #163960 #225792 #2E75C4 #5794D8

Accessibility & contrast

On white

7.38
#225792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#225792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225792
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225792#FFFFFF#000000##FFFFFF
##2257921.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#295191
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #225792;
/* rgb */ color: rgb(34, 87, 146);
/* oklch */ color: oklch(45.3% 0.112 253.5);
Tailwind
colors: {
  custom: {
    50: '#6e85b2',
    500: '#225792',
    950: '#000000',
  },
}
SCSS
$custom: #225792;
$custom-light: #6e85b2;
$custom-dark: #000000;
JSON
{
  "hex": "#225792",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 211.607,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45264,
    "c": 0.11167,
    "h": 253.5
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#225792
secondary
#BC8B54
accent
#9843E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225792

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

Preview Lab → · Contrast checker → · Palette generator →

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