#2D3D73#2D3D73

#2D3D73 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.094 H 269.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2D3D73
RGBrgb(45, 61, 115)
HSLhsl(226, 44%, 31%)
HSVhsv(226, 61%, 45%)
CMYKcmyk(60.9%, 47%, 0%, 54.9%)
CIE-LABlab(27.11, 11.53, -33.15)
CIE-LCHlch(27.11, 35.10, 289.18°)
OKLaboklab(37.58% -0.0015 -0.0945)
OKLCHoklch(37.58% 0.094 269.1)
XYZxyz(5.8444, 5.1327, 16.8991)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D73 #73632D
analogous
#2D6073 #2D3D73 #402D73
triadic
#2D3D73 #732D3D #3D732D
tetradic
#2D3D73 #732D60 #73632D #2D7340
square
#2D3D73 #732D60 #73632D #2D7340
split-complementary
#2D3D73 #73402D #60732D
monochromatic
#0B0E1B #1C2647 #2D3D73 #3E549F #5B72BF

Accessibility & contrast

On white

10.36
#2D3D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D3D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D73
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D73#FFFFFF#000000##FFFFFF
##2D3D731.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#1B3D72
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3d73;
/* rgb */ color: rgb(45, 61, 115);
/* oklch */ color: oklch(37.6% 0.094 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d729c',
    500: '#2d3d73',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d73;
$custom-light: #6d729c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d73",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 115
  },
  "hsl": {
    "h": 226.286,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3758,
    "c": 0.09449,
    "h": 269.1
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#2D3D73
secondary
#A49357
accent
#B654D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3D73

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

Preview Lab → · Contrast checker → · Palette generator →

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