#2D3FB4#2D3FB4

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

Color values

HEX#2D3FB4
RGBrgb(45, 63, 180)
HSLhsl(232, 60%, 44%)
HSVhsv(232, 75%, 71%)
CMYKcmyk(75%, 65%, 0%, 29.4%)
CIE-LABlab(32.72, 34.38, -63.89)
CIE-LCHlch(32.72, 72.55, 298.29°)
OKLaboklab(43.36% -0.0005 -0.1847)
OKLCHoklch(43.36% 0.185 269.8)
XYZxyz(11.0951, 7.4070, 44.0161)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3FB4 #B4A22D
analogous
#2D83B4 #2D3FB4 #5F2DB4
triadic
#2D3FB4 #B42D3F #3FB42D
tetradic
#2D3FB4 #B42D83 #B4A22D #2DB45F
square
#2D3FB4 #B42D83 #B4A22D #2DB45F
split-complementary
#2D3FB4 #B45F2D #83B42D
monochromatic
#151D52 #212E83 #2D3FB4 #4C5ED2 #7D8ADE

Accessibility & contrast

On white

8.46
#2D3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2D3FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3FB4
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3FB4#FFFFFF#000000##FFFFFF
##2D3FB41.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d3fb4;
/* rgb */ color: rgb(45, 63, 180);
/* oklch */ color: oklch(43.4% 0.185 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b74cb',
    500: '#2d3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d3fb4;
$custom-light: #7b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3fb4",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 232,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.18475,
    "h": 269.8
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#2D3FB4
secondary
#C7BC76
accent
#CE45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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