#2D3CA5#2D3CA5

#2D3CA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.168 H 270.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2D3CA5
RGBrgb(45, 60, 165)
HSLhsl(233, 57%, 41%)
HSVhsv(233, 73%, 65%)
CMYKcmyk(72.7%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.65, 30.85, -58.30)
CIE-LCHlch(30.65, 65.96, 297.88°)
OKLaboklab(41.44% 0.0022 -0.1684)
OKLCHoklch(41.44% 0.168 270.7)
XYZxyz(9.4873, 6.5053, 36.3457)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CA5 #A5962D
analogous
#2D78A5 #2D3CA5 #5A2DA5
triadic
#2D3CA5 #A52D3C #3CA52D
tetradic
#2D3CA5 #A52D78 #A5962D #2DA55A
square
#2D3CA5 #A52D78 #A5962D #2DA55A
split-complementary
#2D3CA5 #A55A2D #78A52D
monochromatic
#131945 #202B75 #2D3CA5 #4354CC #7380D9

Accessibility & contrast

On white

9.13
#2D3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CA5
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CA5#FFFFFF#000000##FFFFFF
##2D3CA51.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d3ca5;
/* rgb */ color: rgb(45, 60, 165);
/* oklch */ color: oklch(41.4% 0.168 270.7);
Tailwind
colors: {
  custom: {
    50: '#7771c1',
    500: '#2d3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ca5;
$custom-light: #7771c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ca5",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 232.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.16842,
    "h": 270.7
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#2D3CA5
secondary
#C1B66D
accent
#CD47E0
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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