#2D3DB3#2D3DB3

#2D3DB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.186 H 270.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2D3DB3
RGBrgb(45, 61, 179)
HSLhsl(233, 60%, 44%)
HSVhsv(233, 75%, 70%)
CMYKcmyk(74.9%, 65.9%, 0%, 29.8%)
CIE-LABlab(32.14, 35.29, -64.23)
CIE-LCHlch(32.14, 73.29, 298.79°)
OKLaboklab(42.92% 0.0008 -0.1858)
OKLCHoklch(42.92% 0.186 270.2)
XYZxyz(10.8848, 7.1489, 43.4453)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DB3 #B3A32D
analogous
#2D80B3 #2D3DB3 #602DB3
triadic
#2D3DB3 #B32D3D #3DB32D
tetradic
#2D3DB3 #B32D80 #B3A32D #2DB360
square
#2D3DB3 #B32D80 #B3A32D #2DB360
split-complementary
#2D3DB3 #B3602D #80B32D
monochromatic
#141C51 #212C82 #2D3DB3 #4B5BD2 #7C88DE

Accessibility & contrast

On white

8.64
#2D3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D3DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DB3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DB3#FFFFFF#000000##FFFFFF
##2D3DB31.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d3db3;
/* rgb */ color: rgb(45, 61, 179);
/* oklch */ color: oklch(42.9% 0.186 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b72cb',
    500: '#2d3db3',
    950: '#000000',
  },
}
SCSS
$custom: #2d3db3;
$custom-light: #7b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3db3",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 232.836,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42917,
    "c": 0.18577,
    "h": 270.2
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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