#2D3DB4#2D3DB4

#2D3DB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.187 H 270.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2D3DB4
RGBrgb(45, 61, 180)
HSLhsl(233, 60%, 44%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(75%, 66.1%, 0%, 29.4%)
CIE-LABlab(32.23, 35.65, -64.68)
CIE-LCHlch(32.23, 73.85, 298.87°)
OKLaboklab(43.01% 0.0007 -0.1871)
OKLCHoklch(43.01% 0.187 270.2)
XYZxyz(10.9863, 7.1895, 43.9799)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DB4 #B4A42D
analogous
#2D81B4 #2D3DB4 #612DB4
triadic
#2D3DB4 #B42D3D #3DB42D
tetradic
#2D3DB4 #B42D81 #B4A42D #2DB461
square
#2D3DB4 #B42D81 #B4A42D #2DB461
split-complementary
#2D3DB4 #B4612D #81B42D
monochromatic
#151C52 #212C83 #2D3DB4 #4C5CD2 #7D88DE

Accessibility & contrast

On white

8.61
#2D3DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D3DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DB4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DB4#FFFFFF#000000##FFFFFF
##2D3DB41.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3db4;
/* rgb */ color: rgb(45, 61, 180);
/* oklch */ color: oklch(43.0% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b72cc',
    500: '#2d3db4',
    950: '#000000',
  },
}
SCSS
$custom: #2d3db4;
$custom-light: #7b72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3db4",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 232.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.18707,
    "h": 270.2
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#2D3DB4
secondary
#C7BD76
accent
#D045E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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