#225794#225794

#225794 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.114 H 254.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#225794
RGBrgb(34, 87, 148)
HSLhsl(212, 63%, 36%)
HSVhsv(212, 77%, 58%)
CMYKcmyk(77%, 41.2%, 0%, 42%)
CIE-LABlab(36.54, 4.84, -38.54)
CIE-LCHlch(36.54, 38.85, 277.15°)
OKLaboklab(45.4% -0.0312 -0.1101)
OKLCHoklch(45.4% 0.114 254.2)
XYZxyz(9.4112, 9.2935, 29.3091)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225794 #945F22
analogous
#229094 #225794 #262294
triadic
#225794 #942257 #579422
tetradic
#225794 #942290 #945F22 #229426
square
#225794 #942290 #945F22 #229426
split-complementary
#225794 #942622 #909422
monochromatic
#0B1C30 #173A62 #225794 #2D74C6 #5894D9

Accessibility & contrast

On white

7.35
#225794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#225794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225794
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225794#FFFFFF#000000##FFFFFF
##2257941.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #225794;
/* rgb */ color: rgb(34, 87, 148);
/* oklch */ color: oklch(45.4% 0.114 254.2);
Tailwind
colors: {
  custom: {
    50: '#6e85b4',
    500: '#225794',
    950: '#000000',
  },
}
SCSS
$custom: #225794;
$custom-light: #6e85b4;
$custom-dark: #000000;
JSON
{
  "hex": "#225794",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 212.105,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.11441,
    "h": 254.2
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#225794
secondary
#BD8D55
accent
#9A42E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225794

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

Preview Lab → · Contrast checker → · Palette generator →

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