#2D2D93#2D2D93

#2D2D93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.162 H 275.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2D2D93
RGBrgb(45, 45, 147)
HSLhsl(240, 53%, 38%)
HSVhsv(240, 69%, 58%)
CMYKcmyk(69.4%, 69.4%, 0%, 42.4%)
CIE-LABlab(25.38, 34.01, -55.97)
CIE-LCHlch(25.38, 65.49, 301.29°)
OKLaboklab(37.09% 0.0143 -0.1616)
OKLCHoklch(37.09% 0.162 275.1)
XYZxyz(7.2853, 4.5406, 28.0906)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D93 #93932D
analogous
#2D6093 #2D2D93 #602D93
triadic
#2D2D93 #932D2D #2D932D
tetradic
#2D2D93 #932D60 #93932D #2D9360
square
#2D2D93 #932D60 #93932D #2D9360
split-complementary
#2D2D93 #93602D #60932D
monochromatic
#101035 #1F1F64 #2D2D93 #3B3BC2 #6969D1

Accessibility & contrast

On white

11.01
#2D2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D93
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D93#FFFFFF#000000##FFFFFF
##2D2D931.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2d93;
/* rgb */ color: rgb(45, 45, 147);
/* oklch */ color: oklch(37.1% 0.162 275.1);
Tailwind
colors: {
  custom: {
    50: '#7466b4',
    500: '#2d2d93',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d93;
$custom-light: #7466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d93",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37093,
    "c": 0.16228,
    "h": 275.1
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#2D2D93
secondary
#B8B864
accent
#DD4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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