#2D2390#2D2390

#2D2390 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.169 H 277.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2D2390
RGBrgb(45, 35, 144)
HSLhsl(246, 61%, 35%)
HSVhsv(246, 76%, 56%)
CMYKcmyk(68.7%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.91, 39.01, -58.19)
CIE-LCHlch(22.91, 70.05, 303.84°)
OKLaboklab(35.23% 0.0215 -0.1681)
OKLCHoklch(35.23% 0.169 277.3)
XYZxyz(6.7156, 3.7730, 26.7545)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2390 #869023
analogous
#234F90 #2D2390 #642390
triadic
#2D2390 #902D23 #23902D
tetradic
#2D2390 #90234F #869023 #239064
square
#2D2390 #90234F #869023 #239064
split-complementary
#2D2390 #906423 #4F9023
monochromatic
#0E0B2E #1E175F #2D2390 #3C2FC1 #6357D6

Accessibility & contrast

On white

11.97
#2D2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2D2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2390
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2390#FFFFFF#000000##FFFFFF
##2D23901.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2390;
/* rgb */ color: rgb(45, 35, 144);
/* oklch */ color: oklch(35.2% 0.169 277.3);
Tailwind
colors: {
  custom: {
    50: '#7560b2',
    500: '#2d2390',
    950: '#000000',
  },
}
SCSS
$custom: #2d2390;
$custom-light: #7560b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2390",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 245.505,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3523,
    "c": 0.16948,
    "h": 277.3
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#2D2390
secondary
#B1BA54
accent
#E444D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2D2390

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

Preview Lab → · Contrast checker → · Palette generator →

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