#2D3DB8#2D3DB8

#2D3DB8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.192 H 270.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2D3DB8
RGBrgb(45, 61, 184)
HSLhsl(233, 61%, 45%)
HSVhsv(233, 76%, 72%)
CMYKcmyk(75.5%, 66.8%, 0%, 27.8%)
CIE-LABlab(32.60, 37.09, -66.45)
CIE-LCHlch(32.60, 76.10, 299.17°)
OKLaboklab(43.39% 0.0004 -0.1922)
OKLCHoklch(43.39% 0.192 270.1)
XYZxyz(11.3997, 7.3548, 46.1569)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DB8 #B8A82D
analogous
#2D82B8 #2D3DB8 #632DB8
triadic
#2D3DB8 #B82D3D #3DB82D
tetradic
#2D3DB8 #B82D82 #B8A82D #2DB863
square
#2D3DB8 #B82D82 #B8A82D #2DB863
split-complementary
#2D3DB8 #B8632D #82B82D
monochromatic
#151C56 #212D87 #2D3DB8 #4E5ED4 #808BE0

Accessibility & contrast

On white

8.50
#2D3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D3DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DB8
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DB8#FFFFFF#000000##FFFFFF
##2D3DB81.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d3db8;
/* rgb */ color: rgb(45, 61, 184);
/* oklch */ color: oklch(43.4% 0.192 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c72ce',
    500: '#2d3db8',
    950: '#000000',
  },
}
SCSS
$custom: #2d3db8;
$custom-light: #7c72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3db8",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 233.094,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.19224,
    "h": 270.1
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#2D3DB8
secondary
#C9BF78
accent
#D144E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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