#2D3E73#2D3E73

#2D3E73 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.093 H 268.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2D3E73
RGBrgb(45, 62, 115)
HSLhsl(225, 44%, 31%)
HSVhsv(225, 61%, 45%)
CMYKcmyk(60.9%, 46.1%, 0%, 54.9%)
CIE-LABlab(27.41, 10.85, -32.68)
CIE-LCHlch(27.41, 34.43, 288.36°)
OKLaboklab(37.81% -0.0027 -0.0931)
OKLCHoklch(37.81% 0.093 268.3)
XYZxyz(5.8983, 5.2405, 16.9170)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E73 #73622D
analogous
#2D6173 #2D3E73 #3F2D73
triadic
#2D3E73 #732D3E #3E732D
tetradic
#2D3E73 #732D61 #73622D #2D733F
square
#2D3E73 #732D61 #73622D #2D733F
split-complementary
#2D3E73 #733F2D #61732D
monochromatic
#0B0F1B #1C2647 #2D3E73 #3E569F #5B74BF

Accessibility & contrast

On white

10.25
#2D3E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D3E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E73
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E73#FFFFFF#000000##FFFFFF
##2D3E731.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264475
Deuteranopia (green-blind)
#1D3E72
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3e73;
/* rgb */ color: rgb(45, 62, 115);
/* oklch */ color: oklch(37.8% 0.093 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c729b',
    500: '#2d3e73',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e73;
$custom-light: #6c729b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e73",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 115
  },
  "hsl": {
    "h": 225.429,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37809,
    "c": 0.0931,
    "h": 268.3
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#2D3E73
secondary
#A49257
accent
#B554D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D3E73

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

Preview Lab → · Contrast checker → · Palette generator →

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