#2D3DB2#2D3DB2

#2D3DB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.184 H 270.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2D3DB2
RGBrgb(45, 61, 178)
HSLhsl(233, 60%, 44%)
HSVhsv(233, 75%, 70%)
CMYKcmyk(74.7%, 65.7%, 0%, 30.2%)
CIE-LABlab(32.05, 34.93, -63.79)
CIE-LCHlch(32.05, 72.73, 298.71°)
OKLaboklab(42.82% 0.0008 -0.1845)
OKLCHoklch(42.82% 0.184 270.3)
XYZxyz(10.7841, 7.1086, 42.9146)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DB2 #B2A22D
analogous
#2D7FB2 #2D3DB2 #5F2DB2
triadic
#2D3DB2 #B22D3D #3DB22D
tetradic
#2D3DB2 #B22D7F #B2A22D #2DB25F
square
#2D3DB2 #B22D7F #B2A22D #2DB25F
split-complementary
#2D3DB2 #B25F2D #7FB22D
monochromatic
#141C50 #212C81 #2D3DB2 #4B5BD1 #7C87DE

Accessibility & contrast

On white

8.67
#2D3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D3DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DB2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DB2#FFFFFF#000000##FFFFFF
##2D3DB21.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3db2;
/* rgb */ color: rgb(45, 61, 178);
/* oklch */ color: oklch(42.8% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a72ca',
    500: '#2d3db2',
    950: '#000000',
  },
}
SCSS
$custom: #2d3db2;
$custom-light: #7a72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3db2",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 232.782,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.18447,
    "h": 270.3
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#2D3DB2
secondary
#C6BC75
accent
#D045E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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