#2D3DBB#2D3DBB

#2D3DBB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.196 H 270.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2D3DBB
RGBrgb(45, 61, 187)
HSLhsl(233, 61%, 45%)
HSVhsv(233, 76%, 73%)
CMYKcmyk(75.9%, 67.4%, 0%, 26.7%)
CIE-LABlab(32.88, 38.16, -67.76)
CIE-LCHlch(32.88, 77.77, 299.39°)
OKLaboklab(43.68% 0.0001 -0.1961)
OKLCHoklch(43.68% 0.196 270)
XYZxyz(11.7175, 7.4820, 47.8307)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DBB #BBAB2D
analogous
#2D84BB #2D3DBB #642DBB
triadic
#2D3DBB #BB2D3D #3DBB2D
tetradic
#2D3DBB #BB2D84 #BBAB2D #2DBB64
square
#2D3DBB #BB2D84 #BBAB2D #2DBB64
split-complementary
#2D3DBB #BB642D #84BB2D
monochromatic
#151D58 #212D8A #2D3DBB #505FD5 #828CE1

Accessibility & contrast

On white

8.41
#2D3DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2D3DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DBB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DBB#FFFFFF#000000##FFFFFF
##2D3DBB1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d3dbb;
/* rgb */ color: rgb(45, 61, 187);
/* oklch */ color: oklch(43.7% 0.196 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c73d1',
    500: '#2d3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2d3dbb;
$custom-light: #7c73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3dbb",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 233.239,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.19608,
    "h": 270
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#2D3DBB
secondary
#CAC17A
accent
#D243E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2D3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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