#22295B#22295B

#22295B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.089 H 273.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#22295B
RGBrgb(34, 41, 91)
HSLhsl(233, 46%, 25%)
HSVhsv(233, 63%, 36%)
CMYKcmyk(62.6%, 54.9%, 0%, 64.3%)
CIE-LABlab(18.72, 14.13, -31.08)
CIE-LCHlch(18.72, 34.14, 294.44°)
OKLaboklab(30.47% 0.0061 -0.0889)
OKLCHoklch(30.47% 0.089 273.9)
XYZxyz(3.3403, 2.6810, 10.2370)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22295B #5B5422
analogous
#22465B #22295B #38225B
triadic
#22295B #5B2229 #295B22
tetradic
#22295B #5B2246 #5B5422 #225B38
square
#22295B #5B2246 #5B5422 #225B38
split-complementary
#22295B #5B3822 #465B22
monochromatic
#080A16 #11152E #22295B #333D88 #4351B4

Accessibility & contrast

On white

13.67
#22295B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#22295B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22295B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22295B#FFFFFF#000000##FFFFFF
##22295B1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305D
Deuteranopia (green-blind)
#042B5A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22295b;
/* rgb */ color: rgb(34, 41, 91);
/* oklch */ color: oklch(30.5% 0.089 273.9);
Tailwind
colors: {
  custom: {
    50: '#63628a',
    500: '#22295b',
    950: '#000000',
  },
}
SCSS
$custom: #22295b;
$custom-light: #63628a;
$custom-dark: #000000;
JSON
{
  "hex": "#22295b",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 232.632,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30471,
    "c": 0.08913,
    "h": 273.9
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#22295B
secondary
#8F874A
accent
#C553D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #22295B

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

Preview Lab → · Contrast checker → · Palette generator →

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