#2D2A92#2D2A92

#2D2A92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.164 H 275.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2D2A92
RGBrgb(45, 42, 146)
HSLhsl(242, 55%, 37%)
HSVhsv(242, 71%, 57%)
CMYKcmyk(69.2%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.60, 35.53, -56.63)
CIE-LCHlch(24.60, 66.86, 302.10°)
OKLaboklab(36.5% 0.0166 -0.1636)
OKLCHoklch(36.5% 0.164 275.8)
XYZxyz(7.0968, 4.2885, 27.6423)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A92 #8F922A
analogous
#2A5B92 #2D2A92 #612A92
triadic
#2D2A92 #922D2A #2A922D
tetradic
#2D2A92 #922A5B #8F922A #2A9261
square
#2D2A92 #922A5B #8F922A #2A9261
split-complementary
#2D2A92 #92612A #5B922A
monochromatic
#100F33 #1E1C62 #2D2A92 #3C38C2 #6764D2

Accessibility & contrast

On white

11.30
#2D2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A92
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A92#FFFFFF#000000##FFFFFF
##2D2A921.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2a92;
/* rgb */ color: rgb(45, 42, 146);
/* oklch */ color: oklch(36.5% 0.164 275.8);
Tailwind
colors: {
  custom: {
    50: '#7564b3',
    500: '#2d2a92',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a92;
$custom-light: #7564b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a92",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 241.731,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.16443,
    "h": 275.8
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#2D2A92
secondary
#B6B85F
accent
#DF49DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2D2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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