#2D4394#2D4394

#2D4394 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.136 H 268.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2D4394
RGBrgb(45, 67, 148)
HSLhsl(227, 53%, 38%)
HSVhsv(227, 70%, 58%)
CMYKcmyk(69.6%, 54.7%, 0%, 42%)
CIE-LABlab(31.14, 19.83, -47.21)
CIE-LCHlch(31.14, 51.20, 292.79°)
OKLaboklab(41.37% -0.0038 -0.1357)
OKLCHoklch(41.37% 0.136 268.4)
XYZxyz(8.4328, 6.7095, 28.8619)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4394 #947E2D
analogous
#2D7794 #2D4394 #4A2D94
triadic
#2D4394 #942D43 #43942D
tetradic
#2D4394 #942D77 #947E2D #2D944A
square
#2D4394 #942D77 #947E2D #2D944A
split-complementary
#2D4394 #944A2D #77942D
monochromatic
#101936 #1F2E65 #2D4394 #3B58C3 #6A80D2

Accessibility & contrast

On white

8.97
#2D4394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D4394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4394
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4394#FFFFFF#000000##FFFFFF
##2D43941.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4394;
/* rgb */ color: rgb(45, 67, 148);
/* oklch */ color: oklch(41.4% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#7376b4',
    500: '#2d4394',
    950: '#000000',
  },
}
SCSS
$custom: #2d4394;
$custom-light: #7376b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4394",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 227.184,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.13577,
    "h": 268.4
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#2D4394
secondary
#B8A664
accent
#BE4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4394

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

Preview Lab → · Contrast checker → · Palette generator →

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