#225894#225894

#225894 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.113 H 253.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#225894
RGBrgb(34, 88, 148)
HSLhsl(212, 63%, 36%)
HSVhsv(212, 77%, 58%)
CMYKcmyk(77%, 40.5%, 0%, 42%)
CIE-LABlab(36.85, 4.18, -38.06)
CIE-LCHlch(36.85, 38.29, 276.27°)
OKLaboklab(45.63% -0.0321 -0.1086)
OKLCHoklch(45.63% 0.113 253.5)
XYZxyz(9.4927, 9.4566, 29.3362)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225894 #945E22
analogous
#229194 #225894 #252294
triadic
#225894 #942258 #589422
tetradic
#225894 #942291 #945E22 #229425
square
#225894 #942291 #945E22 #229425
split-complementary
#225894 #942522 #919422
monochromatic
#0B1D30 #173A62 #225894 #2D76C6 #5895D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##225894#FFFFFF#000000##FFFFFF
##2258941.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)
#3C5C96
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #225894;
/* rgb */ color: rgb(34, 88, 148);
/* oklch */ color: oklch(45.6% 0.113 253.5);
Tailwind
colors: {
  custom: {
    50: '#6e86b4',
    500: '#225894',
    950: '#000000',
  },
}
SCSS
$custom: #225894;
$custom-light: #6e86b4;
$custom-dark: #000000;
JSON
{
  "hex": "#225894",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 211.579,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.11329,
    "h": 253.5
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#225894
secondary
#BD8C55
accent
#9842E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #225894

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

Preview Lab → · Contrast checker → · Palette generator →

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