#22307E#22307E

#22307E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.132 H 270.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#22307E
RGBrgb(34, 48, 126)
HSLhsl(231, 58%, 31%)
HSVhsv(231, 73%, 49%)
CMYKcmyk(73%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.54, 22.75, -45.92)
CIE-LCHlch(23.54, 51.24, 296.36°)
OKLaboklab(34.97% 0.0006 -0.1325)
OKLCHoklch(34.97% 0.132 270.3)
XYZxyz(5.4813, 3.9598, 20.2101)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22307E #7E7022
analogous
#225E7E #22307E #42227E
triadic
#22307E #7E2230 #307E22
tetradic
#22307E #7E225E #7E7022 #227E42
square
#22307E #7E225E #7E7022 #227E42
split-complementary
#22307E #7E4222 #5E7E22
monochromatic
#080B1E #151E4E #22307E #2F42AE #4C60CF

Accessibility & contrast

On white

11.72
#22307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#22307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22307E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22307E#FFFFFF#000000##FFFFFF
##22307E1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22307e;
/* rgb */ color: rgb(34, 48, 126);
/* oklch */ color: oklch(35.0% 0.132 270.3);
Tailwind
colors: {
  custom: {
    50: '#6b68a4',
    500: '#22307e',
    950: '#000000',
  },
}
SCSS
$custom: #22307e;
$custom-light: #6b68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22307e",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 230.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.13245,
    "h": 270.3
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#22307E
secondary
#B1A14B
accent
#C947E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22307E

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

Preview Lab → · Contrast checker → · Palette generator →

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