#2D3D9E#2D3D9E

#2D3D9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.158 H 270.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2D3D9E
RGBrgb(45, 61, 158)
HSLhsl(232, 56%, 40%)
HSVhsv(232, 72%, 62%)
CMYKcmyk(71.5%, 61.4%, 0%, 38%)
CIE-LABlab(30.31, 27.61, -54.63)
CIE-LCHlch(30.31, 61.21, 296.81°)
OKLaboklab(41% 0.0016 -0.1576)
OKLCHoklch(41% 0.158 270.6)
XYZxyz(8.9204, 6.3631, 33.0992)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D9E #9E8E2D
analogous
#2D769E #2D3D9E #552D9E
triadic
#2D3D9E #9E2D3D #3D9E2D
tetradic
#2D3D9E #9E2D76 #9E8E2D #2D9E55
square
#2D3D9E #9E2D76 #9E8E2D #2D9E55
split-complementary
#2D3D9E #9E552D #769E2D
monochromatic
#12183F #1F2B6E #2D3D9E #4053C9 #6F7ED6

Accessibility & contrast

On white

9.24
#2D3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D3D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D9E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D9E#FFFFFF#000000##FFFFFF
##2D3D9E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3d9e;
/* rgb */ color: rgb(45, 61, 158);
/* oklch */ color: oklch(41.0% 0.158 270.6);
Tailwind
colors: {
  custom: {
    50: '#7672bb',
    500: '#2d3d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d9e;
$custom-light: #7672bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d9e",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 231.504,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.15764,
    "h": 270.6
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#2D3D9E
secondary
#BDB169
accent
#CA49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D3D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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