#2D3074#2D3074

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

Color values

HEX#2D3074
RGBrgb(45, 48, 116)
HSLhsl(237, 44%, 32%)
HSVhsv(237, 61%, 45%)
CMYKcmyk(61.2%, 58.6%, 0%, 54.5%)
CIE-LABlab(23.45, 20.88, -39.68)
CIE-LCHlch(23.45, 44.84, 297.75°)
OKLaboklab(34.84% 0.0135 -0.1138)
OKLCHoklch(34.84% 0.115 276.8)
XYZxyz(5.2905, 3.9324, 16.9998)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3074 #74712D
analogous
#2D5474 #2D3074 #4E2D74
triadic
#2D3074 #742D30 #30742D
tetradic
#2D3074 #742D54 #74712D #2D744E
square
#2D3074 #742D54 #74712D #2D744E
split-complementary
#2D3074 #744E2D #54742D
monochromatic
#0B0C1C #1C1E48 #2D3074 #3E42A0 #5C60C0

Accessibility & contrast

On white

11.75
#2D3074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D3074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3074
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3074#FFFFFF#000000##FFFFFF
##2D30741.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3074;
/* rgb */ color: rgb(45, 48, 116);
/* oklch */ color: oklch(34.8% 0.115 276.8);
Tailwind
colors: {
  custom: {
    50: '#6e689d',
    500: '#2d3074',
    950: '#000000',
  },
}
SCSS
$custom: #2d3074;
$custom-light: #6e689d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3074",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 237.465,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34835,
    "c": 0.11463,
    "h": 276.8
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#2D3074
secondary
#A5A257
accent
#CE54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2D3074

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

Preview Lab → · Contrast checker → · Palette generator →

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