#2D2A90#2D2A90

#2D2A90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.162 H 276.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2D2A90
RGBrgb(45, 42, 144)
HSLhsl(242, 55%, 36%)
HSVhsv(242, 71%, 56%)
CMYKcmyk(68.7%, 70.8%, 0%, 43.5%)
CIE-LABlab(24.41, 34.84, -55.72)
CIE-LCHlch(24.41, 65.71, 302.02°)
OKLaboklab(36.3% 0.0169 -0.1609)
OKLCHoklch(36.3% 0.162 276)
XYZxyz(6.9425, 4.2268, 26.8301)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A90 #8D902A
analogous
#2A5A90 #2D2A90 #602A90
triadic
#2D2A90 #902D2A #2A902D
tetradic
#2D2A90 #902A5A #8D902A #2A9060
square
#2D2A90 #902A5A #8D902A #2A9060
split-complementary
#2D2A90 #90602A #5A902A
monochromatic
#0F0E31 #1E1C61 #2D2A90 #3C38BF #6663D1

Accessibility & contrast

On white

11.38
#2D2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A90
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A90#FFFFFF#000000##FFFFFF
##2D2A901.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2a90;
/* rgb */ color: rgb(45, 42, 144);
/* oklch */ color: oklch(36.3% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#7464b2',
    500: '#2d2a90',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a90;
$custom-light: #7464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a90",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 241.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36301,
    "c": 0.1618,
    "h": 276
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#2D2A90
secondary
#B5B75E
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2D2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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