#2D2A83#2D2A83

#2D2A83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.144 H 277.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2D2A83
RGBrgb(45, 42, 131)
HSLhsl(242, 51%, 34%)
HSVhsv(242, 68%, 51%)
CMYKcmyk(65.6%, 67.9%, 0%, 48.6%)
CIE-LABlab(23.18, 30.29, -49.63)
CIE-LCHlch(23.18, 58.14, 301.39°)
OKLaboklab(35.03% 0.0186 -0.1431)
OKLCHoklch(35.03% 0.144 277.4)
XYZxyz(6.0056, 3.8520, 21.8954)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A83 #80832A
analogous
#2A5483 #2D2A83 #5A2A83
triadic
#2D2A83 #832D2A #2A832D
tetradic
#2D2A83 #832A54 #80832A #2A835A
square
#2D2A83 #832A54 #80832A #2A835A
split-complementary
#2D2A83 #835A2A #54832A
monochromatic
#0D0C26 #1D1B55 #2D2A83 #3D39B1 #605DCB

Accessibility & contrast

On white

11.86
#2D2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A83
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A83#FFFFFF#000000##FFFFFF
##2D2A831.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2a83;
/* rgb */ color: rgb(45, 42, 131);
/* oklch */ color: oklch(35.0% 0.144 277.4);
Tailwind
colors: {
  custom: {
    50: '#7164a8',
    500: '#2d2a83',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a83;
$custom-light: #7164a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a83",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 242.022,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.14429,
    "h": 277.4
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#2D2A83
secondary
#AEB158
accent
#DB4DD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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