#2D3A73#2D3A73

#2D3A73 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.099 H 271.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2D3A73
RGBrgb(45, 58, 115)
HSLhsl(229, 44%, 31%)
HSVhsv(229, 61%, 45%)
CMYKcmyk(60.9%, 49.6%, 0%, 54.9%)
CIE-LABlab(26.22, 13.60, -34.58)
CIE-LCHlch(26.22, 37.16, 291.47°)
OKLaboklab(36.9% 0.002 -0.0987)
OKLCHoklch(36.9% 0.099 271.2)
XYZxyz(5.6887, 4.8214, 16.8472)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A73 #73662D
analogous
#2D5D73 #2D3A73 #432D73
triadic
#2D3A73 #732D3A #3A732D
tetradic
#2D3A73 #732D5D #73662D #2D7343
square
#2D3A73 #732D5D #73662D #2D7343
split-complementary
#2D3A73 #73432D #5D732D
monochromatic
#0B0E1B #1C2447 #2D3A73 #3E509F #5B6EBF

Accessibility & contrast

On white

10.69
#2D3A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D3A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A73
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A73#FFFFFF#000000##FFFFFF
##2D3A731.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4175
Deuteranopia (green-blind)
#143B72
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3a73;
/* rgb */ color: rgb(45, 58, 115);
/* oklch */ color: oklch(36.9% 0.099 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d6f9c',
    500: '#2d3a73',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a73;
$custom-light: #6d6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a73",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 115
  },
  "hsl": {
    "h": 228.857,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.09872,
    "h": 271.2
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#2D3A73
secondary
#A49657
accent
#BC54D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3A73

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

Preview Lab → · Contrast checker → · Palette generator →

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