#2D3EA5#2D3EA5

#2D3EA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.166 H 270.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2D3EA5
RGBrgb(45, 62, 165)
HSLhsl(232, 57%, 41%)
HSVhsv(232, 73%, 65%)
CMYKcmyk(72.7%, 62.4%, 0%, 35.3%)
CIE-LABlab(31.16, 29.54, -57.48)
CIE-LCHlch(31.16, 64.62, 297.20°)
OKLaboklab(41.81% 0.0008 -0.166)
OKLCHoklch(41.81% 0.166 270.3)
XYZxyz(9.5940, 6.7188, 36.3812)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EA5 #A5942D
analogous
#2D7AA5 #2D3EA5 #582DA5
triadic
#2D3EA5 #A52D3E #3EA52D
tetradic
#2D3EA5 #A52D7A #A5942D #2DA558
square
#2D3EA5 #A52D7A #A5942D #2DA558
split-complementary
#2D3EA5 #A5582D #7AA52D
monochromatic
#131A45 #202C75 #2D3EA5 #4357CC #7382D9

Accessibility & contrast

On white

8.96
#2D3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D3EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EA5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EA5#FFFFFF#000000##FFFFFF
##2D3EA51.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3ea5;
/* rgb */ color: rgb(45, 62, 165);
/* oklch */ color: oklch(41.8% 0.166 270.3);
Tailwind
colors: {
  custom: {
    50: '#7773c1',
    500: '#2d3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ea5;
$custom-light: #7773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ea5",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 231.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.16597,
    "h": 270.3
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#2D3EA5
secondary
#C1B56D
accent
#CB47E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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