#2D3490#2D3490

#2D3490 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.150 H 273.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2D3490
RGBrgb(45, 52, 144)
HSLhsl(236, 52%, 37%)
HSVhsv(236, 69%, 56%)
CMYKcmyk(68.7%, 63.9%, 0%, 43.5%)
CIE-LABlab(26.81, 28.42, -51.78)
CIE-LCHlch(26.81, 59.07, 298.76°)
OKLaboklab(38.05% 0.0092 -0.1493)
OKLCHoklch(38.05% 0.15 273.5)
XYZxyz(7.3425, 5.0268, 26.9635)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3490 #90892D
analogous
#2D6590 #2D3490 #582D90
triadic
#2D3490 #902D34 #34902D
tetradic
#2D3490 #902D65 #90892D #2D9058
square
#2D3490 #902D65 #90892D #2D9058
split-complementary
#2D3490 #90582D #65902D
monochromatic
#101233 #1E2361 #2D3490 #3C45BF #686FD0

Accessibility & contrast

On white

10.47
#2D3490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3490
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3490#FFFFFF#000000##FFFFFF
##2D34901.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3490;
/* rgb */ color: rgb(45, 52, 144);
/* oklch */ color: oklch(38.0% 0.150 273.5);
Tailwind
colors: {
  custom: {
    50: '#736bb1',
    500: '#2d3490',
    950: '#000000',
  },
}
SCSS
$custom: #2d3490;
$custom-light: #736bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3490",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 235.758,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.14963,
    "h": 273.5
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3490

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

Preview Lab → · Contrast checker → · Palette generator →

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