#2D4494#2D4494

#2D4494 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.134 H 268.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2D4494
RGBrgb(45, 68, 148)
HSLhsl(227, 53%, 38%)
HSVhsv(227, 70%, 58%)
CMYKcmyk(69.6%, 54.1%, 0%, 42%)
CIE-LABlab(31.42, 19.16, -46.75)
CIE-LCHlch(31.42, 50.53, 292.28°)
OKLaboklab(41.58% -0.0047 -0.1344)
OKLCHoklch(41.58% 0.134 268)
XYZxyz(8.4928, 6.8294, 28.8819)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4494 #947D2D
analogous
#2D7794 #2D4494 #492D94
triadic
#2D4494 #942D44 #44942D
tetradic
#2D4494 #942D77 #947D2D #2D9449
square
#2D4494 #942D77 #947D2D #2D9449
split-complementary
#2D4494 #94492D #77942D
monochromatic
#101936 #1F2E65 #2D4494 #3B5AC3 #6A81D2

Accessibility & contrast

On white

8.88
#2D4494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D4494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4494
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4494#FFFFFF#000000##FFFFFF
##2D44941.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4494;
/* rgb */ color: rgb(45, 68, 148);
/* oklch */ color: oklch(41.6% 0.134 268.0);
Tailwind
colors: {
  custom: {
    50: '#7377b4',
    500: '#2d4494',
    950: '#000000',
  },
}
SCSS
$custom: #2d4494;
$custom-light: #7377b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4494",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 148
  },
  "hsl": {
    "h": 226.602,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.13446,
    "h": 268
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4494

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

Preview Lab → · Contrast checker → · Palette generator →

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