#225799#225799

#225799 is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.121 H 255.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#225799
RGBrgb(34, 87, 153)
HSLhsl(213, 64%, 37%)
HSVhsv(213, 78%, 60%)
CMYKcmyk(77.8%, 43.1%, 0%, 40%)
CIE-LABlab(36.85, 6.80, -41.08)
CIE-LCHlch(36.85, 41.63, 279.39°)
OKLaboklab(45.73% -0.03 -0.1175)
OKLCHoklch(45.73% 0.121 255.7)
XYZxyz(9.8155, 9.4552, 31.4385)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225799 #996422
analogous
#229399 #225799 #292299
triadic
#225799 #992257 #579922
tetradic
#225799 #992293 #996422 #229929
square
#225799 #992293 #996422 #229929
split-complementary
#225799 #992922 #939922
monochromatic
#0C1E35 #173B67 #225799 #2D73CB #5B94DB

Accessibility & contrast

On white

7.26
#225799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#225799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225799
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225799#FFFFFF#000000##FFFFFF
##2257991.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #225799;
/* rgb */ color: rgb(34, 87, 153);
/* oklch */ color: oklch(45.7% 0.121 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f85b7',
    500: '#225799',
    950: '#000000',
  },
}
SCSS
$custom: #225799;
$custom-light: #6f85b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225799",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 213.277,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.1213,
    "h": 255.7
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#225799
secondary
#BF9158
accent
#9D41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225799

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

Preview Lab → · Contrast checker → · Palette generator →

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