#2D3EA1#2D3EA1

#2D3EA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.161 H 270.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2D3EA1
RGBrgb(45, 62, 161)
HSLhsl(231, 56%, 40%)
HSVhsv(231, 72%, 63%)
CMYKcmyk(72%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.82, 28.06, -55.62)
CIE-LCHlch(30.82, 62.29, 296.77°)
OKLaboklab(41.46% 0.0008 -0.1605)
OKLCHoklch(41.46% 0.161 270.3)
XYZxyz(9.2356, 6.5754, 34.4938)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3EA1 #A1902D
analogous
#2D78A1 #2D3EA1 #562DA1
triadic
#2D3EA1 #A12D3E #3EA12D
tetradic
#2D3EA1 #A12D78 #A1902D #2DA156
square
#2D3EA1 #A12D78 #A1902D #2DA156
split-complementary
#2D3EA1 #A1562D #78A12D
monochromatic
#121941 #202C71 #2D3EA1 #4155CA #7180D7

Accessibility & contrast

On white

9.07
#2D3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D3EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3EA1
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3EA1#FFFFFF#000000##FFFFFF
##2D3EA11.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3ea1;
/* rgb */ color: rgb(45, 62, 161);
/* oklch */ color: oklch(41.5% 0.161 270.3);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2d3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ea1;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ea1",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 231.207,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.16051,
    "h": 270.3
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#2D3EA1
secondary
#BFB26B
accent
#C948E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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