#2D3EA6#2D3EA6

#2D3EA6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.167 H 270.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2D3EA6
RGBrgb(45, 62, 166)
HSLhsl(232, 57%, 41%)
HSVhsv(232, 73%, 65%)
CMYKcmyk(72.9%, 62.7%, 0%, 34.9%)
CIE-LABlab(31.24, 29.91, -57.94)
CIE-LCHlch(31.24, 65.20, 297.30°)
OKLaboklab(41.9% 0.0007 -0.1673)
OKLCHoklch(41.9% 0.167 270.2)
XYZxyz(9.6854, 6.7553, 36.8625)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EA6 #A6952D
analogous
#2D7BA6 #2D3EA6 #592DA6
triadic
#2D3EA6 #A62D3E #3EA62D
tetradic
#2D3EA6 #A62D7B #A6952D #2DA659
square
#2D3EA6 #A62D7B #A6952D #2DA659
split-complementary
#2D3EA6 #A6592D #7BA62D
monochromatic
#131A46 #202C76 #2D3EA6 #4457CC #7482D9

Accessibility & contrast

On white

8.93
#2D3EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D3EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EA6
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EA6#FFFFFF#000000##FFFFFF
##2D3EA61.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3ea6;
/* rgb */ color: rgb(45, 62, 166);
/* oklch */ color: oklch(41.9% 0.167 270.2);
Tailwind
colors: {
  custom: {
    50: '#7773c1',
    500: '#2d3ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ea6;
$custom-light: #7773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ea6",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 231.57,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41903,
    "c": 0.16732,
    "h": 270.2
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#2D3EA6
secondary
#C1B56E
accent
#CB47E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D3EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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