#22307B#22307B

#22307B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.128 H 270.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#22307B
RGBrgb(34, 48, 123)
HSLhsl(231, 57%, 31%)
HSVhsv(231, 72%, 48%)
CMYKcmyk(72.4%, 61%, 0%, 51.8%)
CIE-LABlab(23.28, 21.59, -44.44)
CIE-LCHlch(23.28, 49.40, 295.91°)
OKLaboklab(34.7% 0.0006 -0.1281)
OKLCHoklch(34.7% 0.128 270.3)
XYZxyz(5.2906, 3.8835, 19.2058)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22307B #7B6D22
analogous
#225C7B #22307B #40227B
triadic
#22307B #7B2230 #307B22
tetradic
#22307B #7B225C #7B6D22 #227B40
square
#22307B #7B225C #7B6D22 #227B40
split-complementary
#22307B #7B4022 #5C7B22
monochromatic
#070B1B #151D4B #22307B #2F43AB #4A5FCD

Accessibility & contrast

On white

11.82
#22307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#22307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22307B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22307B#FFFFFF#000000##FFFFFF
##22307B1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22307b;
/* rgb */ color: rgb(34, 48, 123);
/* oklch */ color: oklch(34.7% 0.128 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a2',
    500: '#22307b',
    950: '#000000',
  },
}
SCSS
$custom: #22307b;
$custom-light: #6a68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#22307b",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 230.562,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34699,
    "c": 0.1281,
    "h": 270.3
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22307B

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

Preview Lab → · Contrast checker → · Palette generator →

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