#22307A#22307A

#22307A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.127 H 270.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#22307A
RGBrgb(34, 48, 122)
HSLhsl(230, 56%, 31%)
HSVhsv(230, 72%, 48%)
CMYKcmyk(72.1%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.20, 21.20, -43.94)
CIE-LCHlch(23.20, 48.78, 295.75°)
OKLaboklab(34.61% 0.0006 -0.1266)
OKLCHoklch(34.61% 0.127 270.2)
XYZxyz(5.2283, 3.8586, 18.8778)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22307A #7A6C22
analogous
#225C7A #22307A #40227A
triadic
#22307A #7A2230 #307A22
tetradic
#22307A #7A225C #7A6C22 #227A40
square
#22307A #7A225C #7A6C22 #227A40
split-complementary
#22307A #7A4022 #5C7A22
monochromatic
#070A1A #151D4A #22307A #2F43AA #4A5FCD

Accessibility & contrast

On white

11.85
#22307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#22307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22307A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22307A#FFFFFF#000000##FFFFFF
##22307A1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22307a;
/* rgb */ color: rgb(34, 48, 122);
/* oklch */ color: oklch(34.6% 0.127 270.2);
Tailwind
colors: {
  custom: {
    50: '#6a68a1',
    500: '#22307a',
    950: '#000000',
  },
}
SCSS
$custom: #22307a;
$custom-light: #6a68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#22307a",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 230.455,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3461,
    "c": 0.12664,
    "h": 270.2
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#22307A
secondary
#AD9D4B
accent
#C848E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22307A

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

Preview Lab → · Contrast checker → · Palette generator →

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