#2D3DB6#2D3DB6

#2D3DB6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.190 H 270.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2D3DB6
RGBrgb(45, 61, 182)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(75.3%, 66.5%, 0%, 28.6%)
CIE-LABlab(32.42, 36.37, -65.56)
CIE-LCHlch(32.42, 74.98, 299.02°)
OKLaboklab(43.2% 0.0005 -0.1897)
OKLCHoklch(43.2% 0.19 270.2)
XYZxyz(11.1915, 7.2716, 45.0606)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DB6 #B6A62D
analogous
#2D81B6 #2D3DB6 #622DB6
triadic
#2D3DB6 #B62D3D #3DB62D
tetradic
#2D3DB6 #B62D81 #B6A62D #2DB662
square
#2D3DB6 #B62D81 #B6A62D #2DB662
split-complementary
#2D3DB6 #B6622D #81B62D
monochromatic
#151C54 #212D85 #2D3DB6 #4D5DD3 #7E8ADF

Accessibility & contrast

On white

8.56
#2D3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D3DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DB6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DB6#FFFFFF#000000##FFFFFF
##2D3DB61.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3db6;
/* rgb */ color: rgb(45, 61, 182);
/* oklch */ color: oklch(43.2% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b72cd',
    500: '#2d3db6',
    950: '#000000',
  },
}
SCSS
$custom: #2d3db6;
$custom-light: #7b72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3db6",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 232.993,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.18966,
    "h": 270.2
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#2D3DB6
secondary
#C8BE77
accent
#D144E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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