#2D3CA1#2D3CA1

#2D3CA1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.163 H 270.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2D3CA1
RGBrgb(45, 60, 161)
HSLhsl(232, 56%, 40%)
HSVhsv(232, 72%, 63%)
CMYKcmyk(72%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.31, 29.38, -56.45)
CIE-LCHlch(30.31, 63.64, 297.49°)
OKLaboklab(41.08% 0.0023 -0.163)
OKLCHoklch(41.08% 0.163 270.8)
XYZxyz(9.1289, 6.3619, 34.4582)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CA1 #A1922D
analogous
#2D76A1 #2D3CA1 #582DA1
triadic
#2D3CA1 #A12D3C #3CA12D
tetradic
#2D3CA1 #A12D76 #A1922D #2DA158
square
#2D3CA1 #A12D76 #A1922D #2DA158
split-complementary
#2D3CA1 #A1582D #76A12D
monochromatic
#121841 #202A71 #2D3CA1 #4153CA #717ED7

Accessibility & contrast

On white

9.24
#2D3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D3CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CA1
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CA1#FFFFFF#000000##FFFFFF
##2D3CA11.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3ca1;
/* rgb */ color: rgb(45, 60, 161);
/* oklch */ color: oklch(41.1% 0.163 270.8);
Tailwind
colors: {
  custom: {
    50: '#7671be',
    500: '#2d3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ca1;
$custom-light: #7671be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ca1",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 232.241,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41079,
    "c": 0.163,
    "h": 270.8
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#2D3CA1
secondary
#BFB46B
accent
#CC48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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