#2D2D90#2D2D90

#2D2D90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.158 H 275.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2D2D90
RGBrgb(45, 45, 144)
HSLhsl(240, 52%, 37%)
HSVhsv(240, 69%, 56%)
CMYKcmyk(68.7%, 68.7%, 0%, 43.5%)
CIE-LABlab(25.10, 32.96, -54.58)
CIE-LCHlch(25.10, 63.76, 301.13°)
OKLaboklab(36.8% 0.0147 -0.1576)
OKLCHoklch(36.8% 0.158 275.3)
XYZxyz(7.0530, 4.4476, 26.8669)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D90 #90902D
analogous
#2D5F90 #2D2D90 #5F2D90
triadic
#2D2D90 #902D2D #2D902D
tetradic
#2D2D90 #902D5F #90902D #2D905F
square
#2D2D90 #902D5F #90902D #2D905F
split-complementary
#2D2D90 #905F2D #5F902D
monochromatic
#101033 #1E1E61 #2D2D90 #3C3CBF #6868D0

Accessibility & contrast

On white

11.11
#2D2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D90
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D90#FFFFFF#000000##FFFFFF
##2D2D901.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2d90;
/* rgb */ color: rgb(45, 45, 144);
/* oklch */ color: oklch(36.8% 0.158 275.3);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2d2d90',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d90;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d90",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.368,
    "c": 0.15828,
    "h": 275.3
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#2D2D90
secondary
#B6B662
accent
#DC4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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