#22457E#22457E

#22457E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.105 H 259.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#22457E
RGBrgb(34, 69, 126)
HSLhsl(217, 58%, 31%)
HSVhsv(217, 73%, 49%)
CMYKcmyk(73%, 45.2%, 0%, 50.6%)
CIE-LABlab(29.67, 8.17, -36.02)
CIE-LCHlch(29.67, 36.93, 282.78°)
OKLaboklab(39.62% -0.0187 -0.103)
OKLCHoklch(39.62% 0.105 259.7)
XYZxyz(6.5523, 6.1020, 20.5671)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22457E #7E5B22
analogous
#22737E #22457E #2D227E
triadic
#22457E #7E2245 #457E22
tetradic
#22457E #7E2273 #7E5B22 #227E2D
square
#22457E #7E2273 #7E5B22 #227E2D
split-complementary
#22457E #7E2D22 #737E22
monochromatic
#08101E #152B4E #22457E #2F5FAE #4C7ECF

Accessibility & contrast

On white

9.46
#22457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#22457E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22457E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22457E#FFFFFF#000000##FFFFFF
##22457E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22457e;
/* rgb */ color: rgb(34, 69, 126);
/* oklch */ color: oklch(39.6% 0.105 259.7);
Tailwind
colors: {
  custom: {
    50: '#6978a4',
    500: '#22457e',
    950: '#000000',
  },
}
SCSS
$custom: #22457e;
$custom-light: #6978a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22457e",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 217.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.10468,
    "h": 259.7
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#22457E
secondary
#B18A4B
accent
#A647E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22457E

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

Preview Lab → · Contrast checker → · Palette generator →

#22457E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva