#2D2990#2D2990

#2D2990 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.163 H 276.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2D2990
RGBrgb(45, 41, 144)
HSLhsl(242, 56%, 36%)
HSVhsv(242, 72%, 56%)
CMYKcmyk(68.7%, 71.5%, 0%, 43.5%)
CIE-LABlab(24.18, 35.45, -56.09)
CIE-LCHlch(24.18, 66.35, 302.30°)
OKLaboklab(36.14% 0.0176 -0.162)
OKLCHoklch(36.14% 0.163 276.2)
XYZxyz(6.9075, 4.1568, 26.8185)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2990 #8C9029
analogous
#295990 #2D2990 #612990
triadic
#2D2990 #902D29 #29902D
tetradic
#2D2990 #902959 #8C9029 #299061
square
#2D2990 #902959 #8C9029 #299061
split-complementary
#2D2990 #906129 #599029
monochromatic
#0F0E31 #1E1B60 #2D2990 #3C37C0 #6661D2

Accessibility & contrast

On white

11.47
#2D2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2990
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2990#FFFFFF#000000##FFFFFF
##2D29901.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2990;
/* rgb */ color: rgb(45, 41, 144);
/* oklch */ color: oklch(36.1% 0.163 276.2);
Tailwind
colors: {
  custom: {
    50: '#7464b2',
    500: '#2d2990',
    950: '#000000',
  },
}
SCSS
$custom: #2d2990;
$custom-light: #7464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2990",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 242.33,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3614,
    "c": 0.16295,
    "h": 276.2
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#2D2990
secondary
#B4B85D
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2D2990

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

Preview Lab → · Contrast checker → · Palette generator →

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