#2D3E97#2D3E97

#2D3E97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.147 H 270.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2D3E97
RGBrgb(45, 62, 151)
HSLhsl(230, 54%, 38%)
HSVhsv(230, 70%, 59%)
CMYKcmyk(70.2%, 58.9%, 0%, 40.8%)
CIE-LABlab(30.00, 24.33, -50.88)
CIE-LCHlch(30.00, 56.40, 295.56°)
OKLaboklab(40.59% 0.0008 -0.1466)
OKLCHoklch(40.59% 0.147 270.3)
XYZxyz(8.3888, 6.2367, 30.0339)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E97 #97862D
analogous
#2D7397 #2D3E97 #512D97
triadic
#2D3E97 #972D3E #3E972D
tetradic
#2D3E97 #972D73 #97862D #2D9751
square
#2D3E97 #972D73 #97862D #2D9751
split-complementary
#2D3E97 #97512D #73972D
monochromatic
#111739 #1F2B68 #2D3E97 #3C52C5 #6B7CD3

Accessibility & contrast

On white

9.34
#2D3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D3E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E97
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E97#FFFFFF#000000##FFFFFF
##2D3E971.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3e97;
/* rgb */ color: rgb(45, 62, 151);
/* oklch */ color: oklch(40.6% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#7473b6',
    500: '#2d3e97',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e97;
$custom-light: #7473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e97",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 230.377,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.14659,
    "h": 270.3
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#2D3E97
secondary
#BAAC66
accent
#C64ADD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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