#2D3394#2D3394

#2D3394 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.156 H 273.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2D3394
RGBrgb(45, 51, 148)
HSLhsl(237, 53%, 38%)
HSVhsv(237, 70%, 58%)
CMYKcmyk(69.6%, 65.5%, 0%, 42%)
CIE-LABlab(26.91, 30.53, -54.08)
CIE-LCHlch(26.91, 62.10, 299.44°)
OKLaboklab(38.23% 0.0098 -0.1561)
OKLCHoklch(38.23% 0.156 273.6)
XYZxyz(7.6095, 5.0630, 28.5875)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3394 #948E2D
analogous
#2D6694 #2D3394 #5A2D94
triadic
#2D3394 #942D33 #33942D
tetradic
#2D3394 #942D66 #948E2D #2D945A
square
#2D3394 #942D66 #948E2D #2D945A
split-complementary
#2D3394 #945A2D #66942D
monochromatic
#101336 #1F2365 #2D3394 #3B43C3 #6A70D2

Accessibility & contrast

On white

10.43
#2D3394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D3394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3394
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3394#FFFFFF#000000##FFFFFF
##2D33941.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3394;
/* rgb */ color: rgb(45, 51, 148);
/* oklch */ color: oklch(38.2% 0.156 273.6);
Tailwind
colors: {
  custom: {
    50: '#746bb4',
    500: '#2d3394',
    950: '#000000',
  },
}
SCSS
$custom: #2d3394;
$custom-light: #746bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3394",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 236.505,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.1564,
    "h": 273.6
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3394

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

Preview Lab → · Contrast checker → · Palette generator →

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