#2D3DB0#2D3DB0

#2D3DB0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.182 H 270.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2D3DB0
RGBrgb(45, 61, 176)
HSLhsl(233, 59%, 43%)
HSVhsv(233, 74%, 69%)
CMYKcmyk(74.4%, 65.3%, 0%, 31%)
CIE-LABlab(31.87, 34.21, -62.89)
CIE-LCHlch(31.87, 71.60, 298.54°)
OKLaboklab(42.64% 0.001 -0.1819)
OKLCHoklch(42.64% 0.182 270.3)
XYZxyz(10.5847, 7.0288, 41.8647)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DB0 #B0A02D
analogous
#2D7EB0 #2D3DB0 #5E2DB0
triadic
#2D3DB0 #B02D3D #3DB02D
tetradic
#2D3DB0 #B02D7E #B0A02D #2DB05E
square
#2D3DB0 #B02D7E #B0A02D #2DB05E
split-complementary
#2D3DB0 #B05E2D #7EB02D
monochromatic
#141B4F #212C7F #2D3DB0 #4A5AD1 #7A86DD

Accessibility & contrast

On white

8.73
#2D3DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D3DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DB0
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DB0#FFFFFF#000000##FFFFFF
##2D3DB01.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3db0;
/* rgb */ color: rgb(45, 61, 176);
/* oklch */ color: oklch(42.6% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a72c9',
    500: '#2d3db0',
    950: '#000000',
  },
}
SCSS
$custom: #2d3db0;
$custom-light: #7a72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3db0",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 232.672,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.18185,
    "h": 270.3
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#2D3DB0
secondary
#C5BB73
accent
#CF45E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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