#2A22AF#2A22AF

#2A22AF is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.209 H 272.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2A22AF
RGBrgb(42, 34, 175)
HSLhsl(243, 67%, 41%)
HSVhsv(243, 81%, 69%)
CMYKcmyk(76%, 80.6%, 0%, 31.4%)
CIE-LABlab(25.95, 49.26, -72.06)
CIE-LCHlch(25.95, 87.29, 304.35°)
OKLaboklab(38.32% 0.0107 -0.2085)
OKLCHoklch(38.32% 0.209 272.9)
XYZxyz(9.2621, 4.7305, 40.9741)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A22AF #A7AF22
analogous
#2260AF #2A22AF #7022AF
triadic
#2A22AF #AF2A22 #22AF2A
tetradic
#2A22AF #AF2260 #A7AF22 #22AF70
square
#2A22AF #AF2260 #A7AF22 #22AF70
split-complementary
#2A22AF #AF7022 #60AF22
monochromatic
#110E49 #1E187C #2A22AF #3F36D8 #7069E2

Accessibility & contrast

On white

10.79
#2A22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A22AF
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A22AF#FFFFFF#000000##FFFFFF
##2A22AF1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a22af;
/* rgb */ color: rgb(42, 34, 175);
/* oklch */ color: oklch(38.3% 0.209 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b61c8',
    500: '#2a22af',
    950: '#000000',
  },
}
SCSS
$custom: #2a22af;
$custom-light: #7b61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a22af",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 243.404,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.20877,
    "h": 272.9
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#2A22AF
secondary
#C2C865
accent
#EA3DE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A22AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2A22AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva