#2D3492#2D3492

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

Color values

HEX#2D3492
RGBrgb(45, 52, 146)
HSLhsl(236, 53%, 37%)
HSVhsv(236, 69%, 57%)
CMYKcmyk(69.2%, 64.4%, 0%, 42.7%)
CIE-LABlab(26.99, 29.15, -52.73)
CIE-LCHlch(26.99, 60.25, 298.93°)
OKLaboklab(38.23% 0.0091 -0.1521)
OKLCHoklch(38.23% 0.152 273.4)
XYZxyz(7.4968, 5.0885, 27.7757)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3492 #928B2D
analogous
#2D6692 #2D3492 #592D92
triadic
#2D3492 #922D34 #34922D
tetradic
#2D3492 #922D66 #928B2D #2D9259
square
#2D3492 #922D66 #928B2D #2D9259
split-complementary
#2D3492 #92592D #66922D
monochromatic
#101334 #1F2363 #2D3492 #3B45C1 #6970D1

Accessibility & contrast

On white

10.41
#2D3492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D3492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3492
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3492#FFFFFF#000000##FFFFFF
##2D34921.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3492;
/* rgb */ color: rgb(45, 52, 146);
/* oklch */ color: oklch(38.2% 0.152 273.4);
Tailwind
colors: {
  custom: {
    50: '#746bb3',
    500: '#2d3492',
    950: '#000000',
  },
}
SCSS
$custom: #2d3492;
$custom-light: #746bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3492",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 146
  },
  "hsl": {
    "h": 235.842,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.1524,
    "h": 273.4
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#2D3492
secondary
#B7B263
accent
#D24CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3492

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

Preview Lab → · Contrast checker → · Palette generator →

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