#2D2394#2D2394

#2D2394 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.175 H 276.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2394
RGBrgb(45, 35, 148)
HSLhsl(245, 62%, 36%)
HSVhsv(245, 76%, 58%)
CMYKcmyk(69.6%, 76.4%, 0%, 42%)
CIE-LABlab(23.33, 40.33, -59.97)
CIE-LCHlch(23.33, 72.27, 303.92°)
OKLaboklab(35.66% 0.0206 -0.1733)
OKLCHoklch(35.66% 0.175 276.8)
XYZxyz(7.0268, 3.8974, 28.3932)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2394 #8A9423
analogous
#235194 #2D2394 #652394
triadic
#2D2394 #942D23 #23942D
tetradic
#2D2394 #942351 #8A9423 #239465
square
#2D2394 #942351 #8A9423 #239465
split-complementary
#2D2394 #946523 #519423
monochromatic
#0F0C31 #1E1763 #2D2394 #3C2FC5 #655AD8

Accessibility & contrast

On white

11.80
#2D2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2394
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2394#FFFFFF#000000##FFFFFF
##2D23941.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2394;
/* rgb */ color: rgb(45, 35, 148);
/* oklch */ color: oklch(35.7% 0.175 276.8);
Tailwind
colors: {
  custom: {
    50: '#7660b5',
    500: '#2d2394',
    950: '#000000',
  },
}
SCSS
$custom: #2d2394;
$custom-light: #7660b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2394",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 245.31,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35655,
    "c": 0.17451,
    "h": 276.8
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#2D2394
secondary
#B3BC57
accent
#E543D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2394

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

Preview Lab → · Contrast checker → · Palette generator →

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