#2D2D94#2D2D94

#2D2D94 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.164 H 275.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2D2D94
RGBrgb(45, 45, 148)
HSLhsl(240, 53%, 38%)
HSVhsv(240, 70%, 58%)
CMYKcmyk(69.6%, 69.6%, 0%, 42%)
CIE-LABlab(25.48, 34.37, -56.43)
CIE-LCHlch(25.48, 66.07, 301.34°)
OKLaboklab(37.19% 0.0142 -0.163)
OKLCHoklch(37.19% 0.164 275)
XYZxyz(7.3641, 4.5721, 28.5057)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D94 #94942D
analogous
#2D6094 #2D2D94 #602D94
triadic
#2D2D94 #942D2D #2D942D
tetradic
#2D2D94 #942D60 #94942D #2D9460
square
#2D2D94 #942D60 #94942D #2D9460
split-complementary
#2D2D94 #94602D #60942D
monochromatic
#101036 #1F1F65 #2D2D94 #3B3BC3 #6A6AD2

Accessibility & contrast

On white

10.97
#2D2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D94
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D94#FFFFFF#000000##FFFFFF
##2D2D941.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2d94;
/* rgb */ color: rgb(45, 45, 148);
/* oklch */ color: oklch(37.2% 0.164 275.0);
Tailwind
colors: {
  custom: {
    50: '#7566b4',
    500: '#2d2d94',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d94;
$custom-light: #7566b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d94",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37191,
    "c": 0.16362,
    "h": 275
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#2D2D94
secondary
#B8B864
accent
#DD4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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