#222760#222760

#222760 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.100 H 275.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#222760
RGBrgb(34, 39, 96)
HSLhsl(235, 48%, 25%)
HSVhsv(235, 65%, 38%)
CMYKcmyk(64.6%, 59.4%, 0%, 62.4%)
CIE-LABlab(18.52, 17.49, -34.71)
CIE-LCHlch(18.52, 38.87, 296.73°)
OKLaboklab(30.45% 0.0087 -0.0996)
OKLCHoklch(30.45% 0.1 275)
XYZxyz(3.4958, 2.6354, 11.3885)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222760 #605B22
analogous
#224660 #222760 #3C2260
triadic
#222760 #602227 #276022
tetradic
#222760 #602246 #605B22 #22603C
square
#222760 #602246 #605B22 #22603C
split-complementary
#222760 #603C22 #466022
monochromatic
#080917 #121533 #222760 #32398D #424CBA

Accessibility & contrast

On white

13.75
#222760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#222760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222760
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222760#FFFFFF#000000##FFFFFF
##2227601.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #222760;
/* rgb */ color: rgb(34, 39, 96);
/* oklch */ color: oklch(30.4% 0.100 275.0);
Tailwind
colors: {
  custom: {
    50: '#64618e',
    500: '#222760',
    950: '#000000',
  },
}
SCSS
$custom: #222760;
$custom-light: #64618e;
$custom-dark: #000000;
JSON
{
  "hex": "#222760",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 96
  },
  "hsl": {
    "h": 235.161,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.10001,
    "h": 275
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#222760
secondary
#948E4A
accent
#CC51D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #222760

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

Preview Lab → · Contrast checker → · Palette generator →

#222760 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva