#2D3AAF#2D3AAF

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

Color values

HEX#2D3AAF
RGBrgb(45, 58, 175)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 74%, 69%)
CMYKcmyk(74.3%, 66.9%, 0%, 31.4%)
CIE-LABlab(31.06, 35.76, -63.63)
CIE-LCHlch(31.06, 72.99, 299.34°)
OKLaboklab(42.02% 0.0029 -0.184)
OKLCHoklch(42.02% 0.184 270.9)
XYZxyz(10.3305, 6.6781, 41.2937)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AAF #AFA22D
analogous
#2D7BAF #2D3AAF #612DAF
triadic
#2D3AAF #AF2D3A #3AAF2D
tetradic
#2D3AAF #AF2D7B #AFA22D #2DAF61
square
#2D3AAF #AF2D7B #AFA22D #2DAF61
split-complementary
#2D3AAF #AF612D #7BAF2D
monochromatic
#141A4E #202A7E #2D3AAF #4957D0 #7A84DD

Accessibility & contrast

On white

8.99
#2D3AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D3AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AAF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AAF#FFFFFF#000000##FFFFFF
##2D3AAF1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3aaf;
/* rgb */ color: rgb(45, 58, 175);
/* oklch */ color: oklch(42.0% 0.184 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a70c8',
    500: '#2d3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2d3aaf;
$custom-light: #7a70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3aaf",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 234,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.18403,
    "h": 270.9
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#2D3AAF
secondary
#C5BD73
accent
#D346E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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