#2D2890#2D2890

#2D2890 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.164 H 276.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2D2890
RGBrgb(45, 40, 144)
HSLhsl(243, 57%, 36%)
HSVhsv(243, 72%, 56%)
CMYKcmyk(68.7%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.96, 36.06, -56.45)
CIE-LCHlch(23.96, 66.99, 302.57°)
OKLaboklab(35.98% 0.0182 -0.1631)
OKLCHoklch(35.98% 0.164 276.4)
XYZxyz(6.8734, 4.0885, 26.8071)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2890 #8B9028
analogous
#285790 #2D2890 #612890
triadic
#2D2890 #902D28 #28902D
tetradic
#2D2890 #902857 #8B9028 #289061
square
#2D2890 #902857 #8B9028 #289061
split-complementary
#2D2890 #906128 #579028
monochromatic
#0F0D30 #1E1B60 #2D2890 #3C35C0 #6560D3

Accessibility & contrast

On white

11.55
#2D2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2890
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2890#FFFFFF#000000##FFFFFF
##2D28901.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2890;
/* rgb */ color: rgb(45, 40, 144);
/* oklch */ color: oklch(36.0% 0.164 276.4);
Tailwind
colors: {
  custom: {
    50: '#7463b2',
    500: '#2d2890',
    950: '#000000',
  },
}
SCSS
$custom: #2d2890;
$custom-light: #7463b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2890",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 242.885,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35981,
    "c": 0.16408,
    "h": 276.4
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#2D2890
secondary
#B4B85C
accent
#E048D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2D2890

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

Preview Lab → · Contrast checker → · Palette generator →

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