#225398#225398

#225398 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.7% C 0.125 H 257.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#225398
RGBrgb(34, 83, 152)
HSLhsl(215, 63%, 36%)
HSVhsv(215, 78%, 60%)
CMYKcmyk(77.6%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.58, 9.04, -42.50)
CIE-LCHlch(35.58, 43.45, 282.01°)
OKLaboklab(44.73% -0.0267 -0.1218)
OKLCHoklch(44.73% 0.125 257.7)
XYZxyz(9.4184, 8.7925, 30.9004)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225398 #986722
analogous
#228E98 #225398 #2C2298
triadic
#225398 #982253 #539822
tetradic
#225398 #98228E #986722 #22982C
square
#225398 #98228E #986722 #22982C
split-complementary
#225398 #982C22 #8E9822
monochromatic
#0C1C34 #173866 #225398 #2D6ECA #5A8FDA

Accessibility & contrast

On white

7.61
#225398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#225398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225398
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225398#FFFFFF#000000##FFFFFF
##2253981.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599B
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225398;
/* rgb */ color: rgb(34, 83, 152);
/* oklch */ color: oklch(44.7% 0.125 257.7);
Tailwind
colors: {
  custom: {
    50: '#6f82b7',
    500: '#225398',
    950: '#000000',
  },
}
SCSS
$custom: #225398;
$custom-light: #6f82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#225398",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 215.085,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.12466,
    "h": 257.7
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#225398
secondary
#BE9457
accent
#A241E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #225398

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

Preview Lab → · Contrast checker → · Palette generator →

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