#2D3E9A#2D3E9A

#2D3E9A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.151 H 270.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2D3E9A
RGBrgb(45, 62, 154)
HSLhsl(231, 55%, 39%)
HSVhsv(231, 71%, 60%)
CMYKcmyk(70.8%, 59.7%, 0%, 39.6%)
CIE-LABlab(30.24, 25.45, -52.31)
CIE-LCHlch(30.24, 58.18, 295.95°)
OKLaboklab(40.85% 0.0008 -0.1508)
OKLCHoklch(40.85% 0.151 270.3)
XYZxyz(8.6356, 6.3354, 31.3333)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E9A #9A892D
analogous
#2D759A #2D3E9A #532D9A
triadic
#2D3E9A #9A2D3E #3E9A2D
tetradic
#2D3E9A #9A2D75 #9A892D #2D9A53
square
#2D3E9A #9A2D75 #9A892D #2D9A53
split-complementary
#2D3E9A #9A532D #759A2D
monochromatic
#11183B #1F2B6B #2D3E9A #3E53C7 #6D7DD4

Accessibility & contrast

On white

9.26
#2D3E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3E9A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E9A#FFFFFF#000000##FFFFFF
##2D3E9A1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3e9a;
/* rgb */ color: rgb(45, 62, 154);
/* oklch */ color: oklch(40.8% 0.151 270.3);
Tailwind
colors: {
  custom: {
    50: '#7573b9',
    500: '#2d3e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e9a;
$custom-light: #7573b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e9a",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 230.642,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.15081,
    "h": 270.3
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#2D3E9A
secondary
#BBAE67
accent
#C74ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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