#2D3FB6#2D3FB6

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

Color values

HEX#2D3FB6
RGBrgb(45, 63, 182)
HSLhsl(232, 60%, 45%)
HSVhsv(232, 75%, 71%)
CMYKcmyk(75.3%, 65.4%, 0%, 28.6%)
CIE-LABlab(32.90, 35.10, -64.78)
CIE-LCHlch(32.90, 73.68, 298.45°)
OKLaboklab(43.55% -0.0006 -0.1874)
OKLCHoklch(43.55% 0.187 269.8)
XYZxyz(11.3003, 7.4891, 45.0969)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3FB6 #B6A42D
analogous
#2D83B6 #2D3FB6 #602DB6
triadic
#2D3FB6 #B62D3F #3FB62D
tetradic
#2D3FB6 #B62D83 #B6A42D #2DB660
square
#2D3FB6 #B62D83 #B6A42D #2DB660
split-complementary
#2D3FB6 #B6602D #83B62D
monochromatic
#151D54 #212E85 #2D3FB6 #4D5FD3 #7E8BDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3FB6#FFFFFF#000000##FFFFFF
##2D3FB61.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)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d3fb6;
/* rgb */ color: rgb(45, 63, 182);
/* oklch */ color: oklch(43.5% 0.187 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b74cd',
    500: '#2d3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d3fb6;
$custom-light: #7b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3fb6",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 232.117,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.18736,
    "h": 269.8
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#2D3FB6
secondary
#C8BD77
accent
#CF44E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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