#2D3CA4#2D3CA4

#2D3CA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.167 H 270.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D3CA4
RGBrgb(45, 60, 164)
HSLhsl(232, 57%, 41%)
HSVhsv(232, 73%, 64%)
CMYKcmyk(72.6%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.57, 30.48, -57.84)
CIE-LCHlch(30.57, 65.38, 297.79°)
OKLaboklab(41.35% 0.0022 -0.1671)
OKLCHoklch(41.35% 0.167 270.8)
XYZxyz(9.3966, 6.4690, 35.8682)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CA4 #A4952D
analogous
#2D77A4 #2D3CA4 #592DA4
triadic
#2D3CA4 #A42D3C #3CA42D
tetradic
#2D3CA4 #A42D77 #A4952D #2DA459
square
#2D3CA4 #A42D77 #A4952D #2DA459
split-complementary
#2D3CA4 #A4592D #77A42D
monochromatic
#131944 #202A74 #2D3CA4 #4354CB #7380D9

Accessibility & contrast

On white

9.15
#2D3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CA4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CA4#FFFFFF#000000##FFFFFF
##2D3CA41.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d3ca4;
/* rgb */ color: rgb(45, 60, 164);
/* oklch */ color: oklch(41.3% 0.167 270.8);
Tailwind
colors: {
  custom: {
    50: '#7771c0',
    500: '#2d3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ca4;
$custom-light: #7771c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ca4",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 232.437,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.16707,
    "h": 270.8
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#2D3CA4
secondary
#C0B66D
accent
#CD48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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