#22307F#22307F

#22307F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.134 H 270.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#22307F
RGBrgb(34, 48, 127)
HSLhsl(231, 58%, 32%)
HSVhsv(231, 73%, 50%)
CMYKcmyk(73.2%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.62, 23.14, -46.41)
CIE-LCHlch(23.62, 51.86, 296.50°)
OKLaboklab(35.06% 0.0006 -0.1339)
OKLCHoklch(35.06% 0.134 270.2)
XYZxyz(5.5461, 3.9857, 20.5516)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22307F #7F7122
analogous
#225F7F #22307F #43227F
triadic
#22307F #7F2230 #307F22
tetradic
#22307F #7F225F #7F7122 #227F43
square
#22307F #7F225F #7F7122 #227F43
split-complementary
#22307F #7F4322 #5F7F22
monochromatic
#080C1E #151E4F #22307F #2F42AF #4C60CF

Accessibility & contrast

On white

11.68
#22307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#22307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22307F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22307F#FFFFFF#000000##FFFFFF
##22307F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22307f;
/* rgb */ color: rgb(34, 48, 127);
/* oklch */ color: oklch(35.1% 0.134 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b68a5',
    500: '#22307f',
    950: '#000000',
  },
}
SCSS
$custom: #22307f;
$custom-light: #6b68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#22307f",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 230.968,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.13389,
    "h": 270.2
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#22307F
secondary
#B2A24B
accent
#CA47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22307F

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

Preview Lab → · Contrast checker → · Palette generator →

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