#2D2A86#2D2A86

#2D2A86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.148 H 277.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2D2A86
RGBrgb(45, 42, 134)
HSLhsl(242, 52%, 35%)
HSVhsv(242, 69%, 53%)
CMYKcmyk(66.4%, 68.7%, 0%, 47.5%)
CIE-LABlab(23.45, 31.34, -51.06)
CIE-LCHlch(23.45, 59.91, 301.55°)
OKLaboklab(35.32% 0.0182 -0.1473)
OKLCHoklch(35.32% 0.148 277.1)
XYZxyz(6.2118, 3.9345, 22.9817)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A86 #83862A
analogous
#2A5586 #2D2A86 #5B2A86
triadic
#2D2A86 #862D2A #2A862D
tetradic
#2D2A86 #862A55 #83862A #2A865B
square
#2D2A86 #862A55 #83862A #2A865B
split-complementary
#2D2A86 #865B2A #55862A
monochromatic
#0E0D29 #1D1B57 #2D2A86 #3D39B5 #625ECD

Accessibility & contrast

On white

11.75
#2D2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A86
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A86#FFFFFF#000000##FFFFFF
##2D2A861.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2a86;
/* rgb */ color: rgb(45, 42, 134);
/* oklch */ color: oklch(35.3% 0.148 277.1);
Tailwind
colors: {
  custom: {
    50: '#7264aa',
    500: '#2d2a86',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a86;
$custom-light: #7264aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a86",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 241.957,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35321,
    "c": 0.1484,
    "h": 277.1
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#2D2A86
secondary
#AFB25A
accent
#DC4CD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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