#2D3E96#2D3E96

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

Color values

HEX#2D3E96
RGBrgb(45, 62, 150)
HSLhsl(230, 54%, 38%)
HSVhsv(230, 70%, 59%)
CMYKcmyk(70%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.92, 23.96, -50.40)
CIE-LCHlch(29.92, 55.80, 295.43°)
OKLaboklab(40.51% 0.0008 -0.1452)
OKLCHoklch(40.51% 0.145 270.3)
XYZxyz(8.3080, 6.2043, 29.6080)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E96 #96852D
analogous
#2D7296 #2D3E96 #502D96
triadic
#2D3E96 #962D3E #3E962D
tetradic
#2D3E96 #962D72 #96852D #2D9650
square
#2D3E96 #962D72 #96852D #2D9650
split-complementary
#2D3E96 #96502D #72962D
monochromatic
#111738 #1F2B67 #2D3E96 #3C52C4 #6B7CD3

Accessibility & contrast

On white

9.37
#2D3E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D3E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E96
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E96#FFFFFF#000000##FFFFFF
##2D3E961.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3e96;
/* rgb */ color: rgb(45, 62, 150);
/* oklch */ color: oklch(40.5% 0.145 270.3);
Tailwind
colors: {
  custom: {
    50: '#7473b6',
    500: '#2d3e96',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e96;
$custom-light: #7473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e96",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 230.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.14518,
    "h": 270.3
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#2D3E96
secondary
#B9AC65
accent
#C54BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E96

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

Preview Lab → · Contrast checker → · Palette generator →

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