#2D3073#2D3073

#2D3073 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.113 H 276.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2D3073
RGBrgb(45, 48, 115)
HSLhsl(237, 44%, 31%)
HSVhsv(237, 61%, 45%)
CMYKcmyk(60.9%, 58.3%, 0%, 54.9%)
CIE-LABlab(23.37, 20.52, -39.17)
CIE-LCHlch(23.37, 44.22, 297.64°)
OKLaboklab(34.75% 0.0135 -0.1123)
OKLCHoklch(34.75% 0.113 276.8)
XYZxyz(5.2327, 3.9092, 16.6951)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3073 #73702D
analogous
#2D5373 #2D3073 #4D2D73
triadic
#2D3073 #732D30 #30732D
tetradic
#2D3073 #732D53 #73702D #2D734D
square
#2D3073 #732D53 #73702D #2D734D
split-complementary
#2D3073 #734D2D #53732D
monochromatic
#0B0B1B #1C1E47 #2D3073 #3E429F #5B60BF

Accessibility & contrast

On white

11.78
#2D3073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D3073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3073
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3073#FFFFFF#000000##FFFFFF
##2D30731.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3073;
/* rgb */ color: rgb(45, 48, 115);
/* oklch */ color: oklch(34.8% 0.113 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d689c',
    500: '#2d3073',
    950: '#000000',
  },
}
SCSS
$custom: #2d3073;
$custom-light: #6d689c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3073",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 237.429,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34753,
    "c": 0.11312,
    "h": 276.8
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#2D3073
secondary
#A4A157
accent
#CE54D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3073

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

Preview Lab → · Contrast checker → · Palette generator →

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