#2D4296#2D4296

#2D4296 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.140 H 268.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4296
RGBrgb(45, 66, 150)
HSLhsl(228, 54%, 38%)
HSVhsv(228, 70%, 59%)
CMYKcmyk(70%, 56%, 0%, 41.2%)
CIE-LABlab(31.01, 21.26, -48.63)
CIE-LCHlch(31.01, 53.08, 293.62°)
OKLaboklab(41.32% -0.0027 -0.1399)
OKLCHoklch(41.32% 0.14 268.9)
XYZxyz(8.5335, 6.6555, 29.6832)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4296 #96812D
analogous
#2D7696 #2D4296 #4C2D96
triadic
#2D4296 #962D42 #42962D
tetradic
#2D4296 #962D76 #96812D #2D964C
square
#2D4296 #962D76 #96812D #2D964C
split-complementary
#2D4296 #964C2D #76962D
monochromatic
#111938 #1F2D67 #2D4296 #3C57C4 #6B80D3

Accessibility & contrast

On white

9.01
#2D4296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D4296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4296
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4296#FFFFFF#000000##FFFFFF
##2D42961.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4296;
/* rgb */ color: rgb(45, 66, 150);
/* oklch */ color: oklch(41.3% 0.140 268.9);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2d4296',
    950: '#000000',
  },
}
SCSS
$custom: #2d4296;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4296",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 228,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.13996,
    "h": 268.9
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#2D4296
secondary
#B9A965
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4296

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

Preview Lab → · Contrast checker → · Palette generator →

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