#2D3293#2D3293

#2D3293 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.156 H 273.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2D3293
RGBrgb(45, 50, 147)
HSLhsl(237, 53%, 38%)
HSVhsv(237, 69%, 58%)
CMYKcmyk(69.4%, 66%, 0%, 42.4%)
CIE-LABlab(26.58, 30.82, -54.01)
CIE-LCHlch(26.58, 62.19, 299.71°)
OKLaboklab(37.96% 0.0106 -0.1559)
OKLCHoklch(37.96% 0.156 273.9)
XYZxyz(7.4875, 4.9450, 28.1580)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3293 #938E2D
analogous
#2D6593 #2D3293 #5B2D93
triadic
#2D3293 #932D32 #32932D
tetradic
#2D3293 #932D65 #938E2D #2D935B
square
#2D3293 #932D65 #938E2D #2D935B
split-complementary
#2D3293 #935B2D #65932D
monochromatic
#101235 #1F2264 #2D3293 #3B42C2 #696ED1

Accessibility & contrast

On white

10.56
#2D3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3293
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3293#FFFFFF#000000##FFFFFF
##2D32931.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3293;
/* rgb */ color: rgb(45, 50, 147);
/* oklch */ color: oklch(38.0% 0.156 273.9);
Tailwind
colors: {
  custom: {
    50: '#746ab4',
    500: '#2d3293',
    950: '#000000',
  },
}
SCSS
$custom: #2d3293;
$custom-light: #746ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3293",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 237.059,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3796,
    "c": 0.15627,
    "h": 273.9
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#2D3293
secondary
#B8B464
accent
#D54BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3293

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

Preview Lab → · Contrast checker → · Palette generator →

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