#2D3773#2D3773

#2D3773 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.103 H 273.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2D3773
RGBrgb(45, 55, 115)
HSLhsl(231, 44%, 31%)
HSVhsv(231, 61%, 45%)
CMYKcmyk(60.9%, 52.2%, 0%, 54.9%)
CIE-LABlab(25.34, 15.68, -35.98)
CIE-LCHlch(25.34, 39.25, 293.54°)
OKLaboklab(36.24% 0.0055 -0.1029)
OKLCHoklch(36.24% 0.103 273.1)
XYZxyz(5.5419, 4.5276, 16.7982)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3773 #73692D
analogous
#2D5A73 #2D3773 #462D73
triadic
#2D3773 #732D37 #37732D
tetradic
#2D3773 #732D5A #73692D #2D7346
square
#2D3773 #732D5A #73692D #2D7346
split-complementary
#2D3773 #73462D #5A732D
monochromatic
#0B0D1B #1C2247 #2D3773 #3E4C9F #5B6ABF

Accessibility & contrast

On white

11.02
#2D3773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D3773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3773
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3773#FFFFFF#000000##FFFFFF
##2D37731.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#0B3972
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d3773;
/* rgb */ color: rgb(45, 55, 115);
/* oklch */ color: oklch(36.2% 0.103 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d6d9c',
    500: '#2d3773',
    950: '#000000',
  },
}
SCSS
$custom: #2d3773;
$custom-light: #6d6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3773",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 115
  },
  "hsl": {
    "h": 231.429,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36237,
    "c": 0.10302,
    "h": 273.1
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#2D3773
secondary
#A49957
accent
#C154D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3773

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

Preview Lab → · Contrast checker → · Palette generator →

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