#2D2C90#2D2C90

#2D2C90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.159 H 275.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2D2C90
RGBrgb(45, 44, 144)
HSLhsl(241, 53%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(68.7%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.87, 33.59, -54.97)
CIE-LCHlch(24.87, 64.42, 301.43°)
OKLaboklab(36.63% 0.0154 -0.1587)
OKLCHoklch(36.63% 0.159 275.6)
XYZxyz(7.0153, 4.3722, 26.8544)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C90 #8F902C
analogous
#2C5D90 #2D2C90 #5F2C90
triadic
#2D2C90 #902D2C #2C902D
tetradic
#2D2C90 #902C5D #8F902C #2C905F
square
#2D2C90 #902C5D #8F902C #2C905F
split-complementary
#2D2C90 #905F2C #5D902C
monochromatic
#100F32 #1E1E61 #2D2C90 #3C3ABF #6766D0

Accessibility & contrast

On white

11.20
#2D2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C90
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C90#FFFFFF#000000##FFFFFF
##2D2C901.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2c90;
/* rgb */ color: rgb(45, 44, 144);
/* oklch */ color: oklch(36.6% 0.159 275.6);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2d2c90',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c90;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c90",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 240.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36631,
    "c": 0.15947,
    "h": 275.6
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#2D2C90
secondary
#B6B761
accent
#DD4BDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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