#225899#225899

#225899 is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.120 H 255.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#225899
RGBrgb(34, 88, 153)
HSLhsl(213, 64%, 37%)
HSVhsv(213, 78%, 60%)
CMYKcmyk(77.8%, 42.5%, 0%, 40%)
CIE-LABlab(37.15, 6.14, -40.59)
CIE-LCHlch(37.15, 41.05, 278.60°)
OKLaboklab(45.96% -0.0309 -0.1161)
OKLCHoklch(45.96% 0.12 255.1)
XYZxyz(9.8970, 9.6183, 31.4657)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225899 #996322
analogous
#229499 #225899 #282299
triadic
#225899 #992258 #589922
tetradic
#225899 #992294 #996322 #229928
square
#225899 #992294 #996322 #229928
split-complementary
#225899 #992822 #949922
monochromatic
#0C1E35 #173B67 #225899 #2D75CB #5B95DB

Accessibility & contrast

On white

7.18
#225899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#225899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225899
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225899#FFFFFF#000000##FFFFFF
##2258991.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#245298
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #225899;
/* rgb */ color: rgb(34, 88, 153);
/* oklch */ color: oklch(46.0% 0.120 255.1);
Tailwind
colors: {
  custom: {
    50: '#6f86b7',
    500: '#225899',
    950: '#000000',
  },
}
SCSS
$custom: #225899;
$custom-light: #6f86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225899",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 212.773,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45963,
    "c": 0.12013,
    "h": 255.1
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#225899
secondary
#BF9058
accent
#9C41E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225899

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

Preview Lab → · Contrast checker → · Palette generator →

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