#225791#225791

#225791 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.110 H 253.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#225791
RGBrgb(34, 87, 145)
HSLhsl(211, 62%, 35%)
HSVhsv(211, 77%, 57%)
CMYKcmyk(76.6%, 40%, 0%, 43.1%)
CIE-LABlab(36.37, 3.66, -37.01)
CIE-LCHlch(36.37, 37.19, 275.65°)
OKLaboklab(45.2% -0.0319 -0.1056)
OKLCHoklch(45.2% 0.11 253.2)
XYZxyz(9.1768, 9.1998, 28.0747)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225791 #915C22
analogous
#228F91 #225791 #242291
triadic
#225791 #912257 #579122
tetradic
#225791 #91228F #915C22 #229124
square
#225791 #91228F #915C22 #229124
split-complementary
#225791 #912422 #8F9122
monochromatic
#0B1C2E #16395F #225791 #2E75C3 #5694D7

Accessibility & contrast

On white

7.39
#225791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#225791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225791
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225791#FFFFFF#000000##FFFFFF
##2257911.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B93
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #225791;
/* rgb */ color: rgb(34, 87, 145);
/* oklch */ color: oklch(45.2% 0.110 253.2);
Tailwind
colors: {
  custom: {
    50: '#6d86b1',
    500: '#225791',
    950: '#000000',
  },
}
SCSS
$custom: #225791;
$custom-light: #6d86b1;
$custom-dark: #000000;
JSON
{
  "hex": "#225791",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 211.351,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.1103,
    "h": 253.2
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#225791
secondary
#BB8A53
accent
#9843E5
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225791

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

Preview Lab → · Contrast checker → · Palette generator →

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