#2D22AA#2D22AA

#2D22AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.202 H 274.5°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2D22AA
RGBrgb(45, 34, 170)
HSLhsl(245, 67%, 40%)
HSVhsv(245, 80%, 67%)
CMYKcmyk(73.5%, 80%, 0%, 33.3%)
CIE-LABlab(25.57, 47.92, -69.68)
CIE-LCHlch(25.57, 84.56, 304.52°)
OKLaboklab(37.95% 0.0158 -0.2015)
OKLCHoklch(37.95% 0.202 274.5)
XYZxyz(8.9075, 4.6033, 38.4415)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D22AA #9FAA22
analogous
#225BAA #2D22AA #7122AA
triadic
#2D22AA #AA2D22 #22AA2D
tetradic
#2D22AA #AA225B #9FAA22 #22AA71
square
#2D22AA #AA225B #9FAA22 #22AA71
split-complementary
#2D22AA #AA7122 #5BAA22
monochromatic
#120E44 #1F1877 #2D22AA #4033D6 #7066E0

Accessibility & contrast

On white

10.93
#2D22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D22AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D22AA
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D22AA#FFFFFF#000000##FFFFFF
##2D22AA1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d22aa;
/* rgb */ color: rgb(45, 34, 170);
/* oklch */ color: oklch(37.9% 0.202 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b61c5',
    500: '#2d22aa',
    950: '#000000',
  },
}
SCSS
$custom: #2d22aa;
$custom-light: #7b61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d22aa",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 244.853,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.37946,
    "c": 0.20214,
    "h": 274.5
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#2D22AA
secondary
#BEC662
accent
#EA3EDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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