#225178#225178

#225178 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.083 H 246.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#225178
RGBrgb(34, 81, 120)
HSLhsl(207, 56%, 30%)
HSVhsv(207, 72%, 47%)
CMYKcmyk(71.7%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.09, -2.11, -26.84)
CIE-LCHlch(33.09, 26.93, 265.50°)
OKLaboklab(42.18% -0.033 -0.076)
OKLCHoklch(42.18% 0.083 246.5)
XYZxyz(6.9910, 7.5803, 18.8604)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225178 #784922
analogous
#227874 #225178 #222678
triadic
#225178 #782251 #517822
tetradic
#225178 #742278 #784922 #267822
square
#225178 #742278 #784922 #267822
split-complementary
#225178 #782226 #787422
monochromatic
#071119 #143148 #225178 #3071A8 #4990CB

Accessibility & contrast

On white

8.35
#225178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#225178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225178
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225178#FFFFFF#000000##FFFFFF
##2251781.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40527A
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #225178;
/* rgb */ color: rgb(34, 81, 120);
/* oklch */ color: oklch(42.2% 0.083 246.5);
Tailwind
colors: {
  custom: {
    50: '#68819f',
    500: '#225178',
    950: '#000000',
  },
}
SCSS
$custom: #225178;
$custom-light: #68819f;
$custom-dark: #000000;
JSON
{
  "hex": "#225178",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 207.209,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.08281,
    "h": 246.5
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#225178
secondary
#AB764B
accent
#8D49DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #225178

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

Preview Lab → · Contrast checker → · Palette generator →

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