#2D3479#2D3479

#2D3479 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.116 H 274.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2D3479
RGBrgb(45, 52, 121)
HSLhsl(234, 46%, 33%)
HSVhsv(234, 63%, 47%)
CMYKcmyk(62.8%, 57%, 0%, 52.5%)
CIE-LABlab(24.93, 19.96, -40.46)
CIE-LCHlch(24.93, 45.11, 296.26°)
OKLaboklab(36.07% 0.0093 -0.1161)
OKLCHoklch(36.07% 0.116 274.6)
XYZxyz(5.7602, 4.3939, 18.6300)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3479 #79722D
analogous
#2D5A79 #2D3479 #4C2D79
triadic
#2D3479 #792D34 #34792D
tetradic
#2D3479 #792D5A #79722D #2D794C
square
#2D3479 #792D5A #79722D #2D794C
split-complementary
#2D3479 #794C2D #5A792D
monochromatic
#0C0E20 #1C214C #2D3479 #3E47A6 #5D67C3

Accessibility & contrast

On white

11.18
#2D3479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D3479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3479
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3479#FFFFFF#000000##FFFFFF
##2D34791.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3479;
/* rgb */ color: rgb(45, 52, 121);
/* oklch */ color: oklch(36.1% 0.116 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e6ba0',
    500: '#2d3479',
    950: '#000000',
  },
}
SCSS
$custom: #2d3479;
$custom-light: #6e6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3479",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 234.474,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36067,
    "c": 0.11645,
    "h": 274.6
  },
  "luminance": 0.04394
}

Semantic roles & 50–950 ramp

primary
#2D3479
secondary
#A9A258
accent
#C952D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2D3479

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

Preview Lab → · Contrast checker → · Palette generator →

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