#225098#225098

#225098 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.128 H 259.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#225098
RGBrgb(34, 80, 152)
HSLhsl(217, 63%, 36%)
HSVhsv(217, 78%, 60%)
CMYKcmyk(77.6%, 47.4%, 0%, 40.4%)
CIE-LABlab(34.69, 11.04, -43.93)
CIE-LCHlch(34.69, 45.30, 284.10°)
OKLaboklab(44.04% -0.024 -0.1261)
OKLCHoklch(44.04% 0.128 259.2)
XYZxyz(9.1938, 8.3433, 30.8256)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225098 #986A22
analogous
#228B98 #225098 #2F2298
triadic
#225098 #982250 #509822
tetradic
#225098 #98228B #986A22 #22982F
square
#225098 #98228B #986A22 #22982F
split-complementary
#225098 #982F22 #8B9822
monochromatic
#0C1B34 #173666 #225098 #2D6ACA #5A8CDA

Accessibility & contrast

On white

7.87
#225098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#225098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225098
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225098#FFFFFF#000000##FFFFFF
##2250981.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#0B4D97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225098;
/* rgb */ color: rgb(34, 80, 152);
/* oklch */ color: oklch(44.0% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f80b7',
    500: '#225098',
    950: '#000000',
  },
}
SCSS
$custom: #225098;
$custom-light: #6f80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225098",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 216.61,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.12833,
    "h": 259.2
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#225098
secondary
#BE9657
accent
#A641E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225098

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

Preview Lab → · Contrast checker → · Palette generator →

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