#225298#225298

#225298 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.126 H 258.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#225298
RGBrgb(34, 82, 152)
HSLhsl(216, 63%, 36%)
HSVhsv(216, 78%, 60%)
CMYKcmyk(77.6%, 46.1%, 0%, 40.4%)
CIE-LABlab(35.28, 9.70, -42.98)
CIE-LCHlch(35.28, 44.06, 282.72°)
OKLaboklab(44.5% -0.0258 -0.1232)
OKLCHoklch(44.5% 0.126 258.2)
XYZxyz(9.3424, 8.6406, 30.8751)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225298 #986822
analogous
#228D98 #225298 #2D2298
triadic
#225298 #982252 #529822
tetradic
#225298 #98228D #986822 #22982D
square
#225298 #98228D #986822 #22982D
split-complementary
#225298 #982D22 #8D9822
monochromatic
#0C1C34 #173766 #225298 #2D6DCA #5A8EDA

Accessibility & contrast

On white

7.70
#225298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#225298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225298
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225298#FFFFFF#000000##FFFFFF
##2252981.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225298;
/* rgb */ color: rgb(34, 82, 152);
/* oklch */ color: oklch(44.5% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#225298',
    950: '#000000',
  },
}
SCSS
$custom: #225298;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225298",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 215.593,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.12588,
    "h": 258.2
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#225298
secondary
#BE9557
accent
#A341E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225298

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

Preview Lab → · Contrast checker → · Palette generator →

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