#2D3CAB#2D3CAB

#2D3CAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.176 H 270.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2D3CAB
RGBrgb(45, 60, 171)
HSLhsl(233, 58%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(73.7%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.18, 33.04, -61.04)
CIE-LCHlch(31.18, 69.41, 298.42°)
OKLaboklab(41.99% 0.0019 -0.1764)
OKLCHoklch(41.99% 0.176 270.6)
XYZxyz(10.0462, 6.7288, 39.2895)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CAB #AB9C2D
analogous
#2D7BAB #2D3CAB #5D2DAB
triadic
#2D3CAB #AB2D3C #3CAB2D
tetradic
#2D3CAB #AB2D7B #AB9C2D #2DAB5D
square
#2D3CAB #AB2D7B #AB9C2D #2DAB5D
split-complementary
#2D3CAB #AB5D2D #7BAB2D
monochromatic
#141A4A #202B7B #2D3CAB #4757CE #7783DB

Accessibility & contrast

On white

8.95
#2D3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D3CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CAB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CAB#FFFFFF#000000##FFFFFF
##2D3CAB1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3cab;
/* rgb */ color: rgb(45, 60, 171);
/* oklch */ color: oklch(42.0% 0.176 270.6);
Tailwind
colors: {
  custom: {
    50: '#7971c5',
    500: '#2d3cab',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cab;
$custom-light: #7971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cab",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 232.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.17644,
    "h": 270.6
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#2D3CAB
secondary
#C3B971
accent
#CF46E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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