#2D3BAB#2D3BAB

#2D3BAB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.178 H 270.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2D3BAB
RGBrgb(45, 59, 171)
HSLhsl(233, 58%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(73.7%, 65.5%, 0%, 32.9%)
CIE-LABlab(30.94, 33.68, -61.44)
CIE-LCHlch(30.94, 70.06, 298.73°)
OKLaboklab(41.81% 0.0025 -0.1776)
OKLCHoklch(41.81% 0.178 270.8)
XYZxyz(9.9943, 6.6251, 39.2722)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3BAB #AB9D2D
analogous
#2D7AAB #2D3BAB #5E2DAB
triadic
#2D3BAB #AB2D3B #3BAB2D
tetradic
#2D3BAB #AB2D7A #AB9D2D #2DAB5E
square
#2D3BAB #AB2D7A #AB9D2D #2DAB5E
split-complementary
#2D3BAB #AB5E2D #7AAB2D
monochromatic
#141A4A #202A7B #2D3BAB #4756CE #7782DB

Accessibility & contrast

On white

9.03
#2D3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D3BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3BAB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3BAB#FFFFFF#000000##FFFFFF
##2D3BAB1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3bab;
/* rgb */ color: rgb(45, 59, 171);
/* oklch */ color: oklch(41.8% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#7971c5',
    500: '#2d3bab',
    950: '#000000',
  },
}
SCSS
$custom: #2d3bab;
$custom-light: #7971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3bab",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 233.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.17762,
    "h": 270.8
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#2D3BAB
secondary
#C3BA71
accent
#D046E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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