#2D3583#2D3583

#2D3583 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.130 H 273.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2D3583
RGBrgb(45, 53, 131)
HSLhsl(234, 49%, 35%)
HSVhsv(234, 66%, 51%)
CMYKcmyk(65.6%, 59.5%, 0%, 48.6%)
CIE-LABlab(25.99, 22.97, -45.05)
CIE-LCHlch(25.99, 50.56, 297.02°)
OKLaboklab(37.1% 0.0086 -0.1295)
OKLCHoklch(37.1% 0.13 273.8)
XYZxyz(6.4507, 4.7422, 22.0437)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3583 #837B2D
analogous
#2D6083 #2D3583 #502D83
triadic
#2D3583 #832D35 #35832D
tetradic
#2D3583 #832D60 #837B2D #2D8350
square
#2D3583 #832D60 #837B2D #2D8350
split-complementary
#2D3583 #83502D #60832D
monochromatic
#0E1028 #1D2355 #2D3583 #3D47B1 #626BC9

Accessibility & contrast

On white

10.78
#2D3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3583
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3583#FFFFFF#000000##FFFFFF
##2D35831.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3583;
/* rgb */ color: rgb(45, 53, 131);
/* oklch */ color: oklch(37.1% 0.130 273.8);
Tailwind
colors: {
  custom: {
    50: '#706ca8',
    500: '#2d3583',
    950: '#000000',
  },
}
SCSS
$custom: #2d3583;
$custom-light: #706ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3583",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 234.419,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37101,
    "c": 0.12984,
    "h": 273.8
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#2D3583
secondary
#AFA85C
accent
#CC4FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3583

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

Preview Lab → · Contrast checker → · Palette generator →

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