#2D3C9F#2D3C9F

#2D3C9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.160 H 270.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2D3C9F
RGBrgb(45, 60, 159)
HSLhsl(232, 56%, 40%)
HSVhsv(232, 72%, 62%)
CMYKcmyk(71.7%, 62.3%, 0%, 37.6%)
CIE-LABlab(30.14, 28.64, -55.52)
CIE-LCHlch(30.14, 62.47, 297.29°)
OKLaboklab(40.9% 0.0024 -0.1602)
OKLCHoklch(40.9% 0.16 270.8)
XYZxyz(8.9539, 6.2919, 33.5367)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C9F #9F902D
analogous
#2D759F #2D3C9F #572D9F
triadic
#2D3C9F #9F2D3C #3C9F2D
tetradic
#2D3C9F #9F2D75 #9F902D #2D9F57
square
#2D3C9F #9F2D75 #9F902D #2D9F57
split-complementary
#2D3C9F #9F572D #759F2D
monochromatic
#121840 #202A6F #2D3C9F #4052C9 #707DD6

Accessibility & contrast

On white

9.30
#2D3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D3C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C9F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C9F#FFFFFF#000000##FFFFFF
##2D3C9F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3c9f;
/* rgb */ color: rgb(45, 60, 159);
/* oklch */ color: oklch(40.9% 0.160 270.8);
Tailwind
colors: {
  custom: {
    50: '#7671bc',
    500: '#2d3c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c9f;
$custom-light: #7671bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c9f",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 232.105,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.16027,
    "h": 270.8
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#2D3C9F
secondary
#BEB36A
accent
#CB49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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