#2D3373#2D3373

#2D3373 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.109 H 275.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2D3373
RGBrgb(45, 51, 115)
HSLhsl(235, 44%, 31%)
HSVhsv(235, 61%, 45%)
CMYKcmyk(60.9%, 55.7%, 0%, 54.9%)
CIE-LABlab(24.20, 18.44, -37.82)
CIE-LCHlch(24.20, 42.08, 296.00°)
OKLaboklab(35.38% 0.0101 -0.1083)
OKLCHoklch(35.38% 0.109 275.3)
XYZxyz(5.3595, 4.1630, 16.7374)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3373 #736D2D
analogous
#2D5673 #2D3373 #4A2D73
triadic
#2D3373 #732D33 #33732D
tetradic
#2D3373 #732D56 #736D2D #2D734A
square
#2D3373 #732D56 #736D2D #2D734A
split-complementary
#2D3373 #734A2D #56732D
monochromatic
#0B0C1B #1C1F47 #2D3373 #3E479F #5B64BF

Accessibility & contrast

On white

11.46
#2D3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3373
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3373#FFFFFF#000000##FFFFFF
##2D33731.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d3373;
/* rgb */ color: rgb(45, 51, 115);
/* oklch */ color: oklch(35.4% 0.109 275.3);
Tailwind
colors: {
  custom: {
    50: '#6d6a9c',
    500: '#2d3373',
    950: '#000000',
  },
}
SCSS
$custom: #2d3373;
$custom-light: #6d6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3373",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 234.857,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.10879,
    "h": 275.3
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#2D3373
secondary
#A49E57
accent
#C954D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3373

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

Preview Lab → · Contrast checker → · Palette generator →

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