#2D3590#2D3590

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

Color values

HEX#2D3590
RGBrgb(45, 53, 144)
HSLhsl(235, 52%, 37%)
HSVhsv(235, 69%, 56%)
CMYKcmyk(68.7%, 63.2%, 0%, 43.5%)
CIE-LABlab(27.07, 27.76, -51.37)
CIE-LCHlch(27.07, 58.39, 298.38°)
OKLaboklab(38.24% 0.0084 -0.1481)
OKLCHoklch(38.24% 0.148 273.2)
XYZxyz(7.3877, 5.1170, 26.9785)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3590 #90882D
analogous
#2D6690 #2D3590 #572D90
triadic
#2D3590 #902D35 #35902D
tetradic
#2D3590 #902D66 #90882D #2D9057
square
#2D3590 #902D66 #90882D #2D9057
split-complementary
#2D3590 #90572D #66902D
monochromatic
#101333 #1E2461 #2D3590 #3C46BF #6870D0

Accessibility & contrast

On white

10.38
#2D3590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3590
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3590#FFFFFF#000000##FFFFFF
##2D35901.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3590;
/* rgb */ color: rgb(45, 53, 144);
/* oklch */ color: oklch(38.2% 0.148 273.2);
Tailwind
colors: {
  custom: {
    50: '#736cb1',
    500: '#2d3590',
    950: '#000000',
  },
}
SCSS
$custom: #2d3590;
$custom-light: #736cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3590",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 144
  },
  "hsl": {
    "h": 235.152,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.14836,
    "h": 273.2
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#2D3590
secondary
#B6B062
accent
#D04CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3590

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

Preview Lab → · Contrast checker → · Palette generator →

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