#225793#225793

#225793 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.113 H 253.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#225793
RGBrgb(34, 87, 147)
HSLhsl(212, 62%, 35%)
HSVhsv(212, 77%, 58%)
CMYKcmyk(76.9%, 40.8%, 0%, 42.4%)
CIE-LABlab(36.48, 4.44, -38.03)
CIE-LCHlch(36.48, 38.29, 276.67°)
OKLaboklab(45.33% -0.0314 -0.1086)
OKLCHoklch(45.33% 0.113 253.9)
XYZxyz(9.3324, 9.2620, 28.8940)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225793 #935E22
analogous
#229093 #225793 #252293
triadic
#225793 #932257 #579322
tetradic
#225793 #932290 #935E22 #229325
square
#225793 #932290 #935E22 #229325
split-complementary
#225793 #932522 #909322
monochromatic
#0B1C30 #173A61 #225793 #2D74C5 #5794D8

Accessibility & contrast

On white

7.36
#225793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #225793
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225793#FFFFFF#000000##FFFFFF
##2257931.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#285192
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #225793;
/* rgb */ color: rgb(34, 87, 147);
/* oklch */ color: oklch(45.3% 0.113 253.9);
Tailwind
colors: {
  custom: {
    50: '#6e85b3',
    500: '#225793',
    950: '#000000',
  },
}
SCSS
$custom: #225793;
$custom-light: #6e85b3;
$custom-dark: #000000;
JSON
{
  "hex": "#225793",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 211.858,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.11305,
    "h": 253.9
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#225793
secondary
#BC8C55
accent
#9942E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225793

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

Preview Lab → · Contrast checker → · Palette generator →

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