#2D3EAC#2D3EAC

#2D3EAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.175 H 270.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2D3EAC
RGBrgb(45, 62, 172)
HSLhsl(232, 59%, 43%)
HSVhsv(232, 74%, 67%)
CMYKcmyk(73.8%, 64%, 0%, 32.5%)
CIE-LABlab(31.76, 32.11, -60.69)
CIE-LCHlch(31.76, 68.66, 297.88°)
OKLaboklab(42.45% 0.0005 -0.1754)
OKLCHoklch(42.45% 0.175 270.2)
XYZxyz(10.2487, 6.9806, 39.8290)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EAC #AC9B2D
analogous
#2D7DAC #2D3EAC #5C2DAC
triadic
#2D3EAC #AC2D3E #3EAC2D
tetradic
#2D3EAC #AC2D7D #AC9B2D #2DAC5C
square
#2D3EAC #AC2D7D #AC9B2D #2DAC5C
split-complementary
#2D3EAC #AC5C2D #7DAC2D
monochromatic
#141B4B #202D7B #2D3EAC #4759CF #7885DC

Accessibility & contrast

On white

8.76
#2D3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EAC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EAC#FFFFFF#000000##FFFFFF
##2D3EAC1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3eac;
/* rgb */ color: rgb(45, 62, 172);
/* oklch */ color: oklch(42.4% 0.175 270.2);
Tailwind
colors: {
  custom: {
    50: '#7973c6',
    500: '#2d3eac',
    950: '#000000',
  },
}
SCSS
$custom: #2d3eac;
$custom-light: #7973c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3eac",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 231.969,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42446,
    "c": 0.17538,
    "h": 270.2
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#2D3EAC
secondary
#C4B971
accent
#CD46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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