#2D4084#2D4084

#2D4084 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.116 H 268.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2D4084
RGBrgb(45, 64, 132)
HSLhsl(227, 49%, 35%)
HSVhsv(227, 66%, 52%)
CMYKcmyk(65.9%, 51.5%, 0%, 48.2%)
CIE-LABlab(29.13, 15.83, -40.58)
CIE-LCHlch(29.13, 43.56, 291.31°)
OKLaboklab(39.49% -0.0024 -0.1163)
OKLCHoklch(39.49% 0.116 268.8)
XYZxyz(7.0790, 5.8900, 22.5891)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4084 #84712D
analogous
#2D6B84 #2D4084 #462D84
triadic
#2D4084 #842D40 #40842D
tetradic
#2D4084 #842D6B #84712D #2D8446
square
#2D4084 #842D6B #84712D #2D8446
split-complementary
#2D4084 #84462D #6B842D
monochromatic
#0E1429 #1D2A56 #2D4084 #3D56B2 #6279C9

Accessibility & contrast

On white

9.64
#2D4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4084
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4084#FFFFFF#000000##FFFFFF
##2D40841.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4986
Deuteranopia (green-blind)
#044183
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4084;
/* rgb */ color: rgb(45, 64, 132);
/* oklch */ color: oklch(39.5% 0.116 268.8);
Tailwind
colors: {
  custom: {
    50: '#7074a8',
    500: '#2d4084',
    950: '#000000',
  },
}
SCSS
$custom: #2d4084;
$custom-light: #7074a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4084",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 226.897,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39489,
    "c": 0.1163,
    "h": 268.8
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#2D4084
secondary
#B09E5D
accent
#BB4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4084

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

Preview Lab → · Contrast checker → · Palette generator →

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