#225498#225498

#225498 is a dark, vivid cyan. Relative luminance 0.089; OKLCH L 45.0% C 0.123 H 257.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#225498
RGBrgb(34, 84, 152)
HSLhsl(215, 63%, 36%)
HSVhsv(215, 78%, 60%)
CMYKcmyk(77.6%, 44.7%, 0%, 40.4%)
CIE-LABlab(35.88, 8.38, -42.02)
CIE-LCHlch(35.88, 42.84, 281.28°)
OKLaboklab(44.96% -0.0275 -0.1203)
OKLCHoklch(44.96% 0.123 257.1)
XYZxyz(9.4954, 8.9466, 30.9261)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225498 #986622
analogous
#228F98 #225498 #2B2298
triadic
#225498 #982254 #549822
tetradic
#225498 #98228F #986622 #22982B
square
#225498 #98228F #986622 #22982B
split-complementary
#225498 #982B22 #8F9822
monochromatic
#0C1D34 #173866 #225498 #2D70CA #5A90DA

Accessibility & contrast

On white

7.53
#225498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#225498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225498
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225498#FFFFFF#000000##FFFFFF
##2254981.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#1A4F97
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225498;
/* rgb */ color: rgb(34, 84, 152);
/* oklch */ color: oklch(45.0% 0.123 257.1);
Tailwind
colors: {
  custom: {
    50: '#6f83b7',
    500: '#225498',
    950: '#000000',
  },
}
SCSS
$custom: #225498;
$custom-light: #6f83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225498",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 214.576,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.12346,
    "h": 257.1
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#225498
secondary
#BE9357
accent
#A041E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225498

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

Preview Lab → · Contrast checker → · Palette generator →

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