#2D4196#2D4196

#2D4196 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.141 H 269.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2D4196
RGBrgb(45, 65, 150)
HSLhsl(229, 54%, 38%)
HSVhsv(229, 70%, 59%)
CMYKcmyk(70%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.74, 21.94, -49.08)
CIE-LCHlch(30.74, 53.76, 294.08°)
OKLaboklab(41.12% -0.0018 -0.1412)
OKLCHoklch(41.12% 0.141 269.3)
XYZxyz(8.4756, 6.5397, 29.6639)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4196 #96822D
analogous
#2D7596 #2D4196 #4D2D96
triadic
#2D4196 #962D41 #41962D
tetradic
#2D4196 #962D75 #96822D #2D964D
square
#2D4196 #962D75 #96822D #2D964D
split-complementary
#2D4196 #964D2D #75962D
monochromatic
#111838 #1F2D67 #2D4196 #3C56C4 #6B7FD3

Accessibility & contrast

On white

9.10
#2D4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D4196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4196
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4196#FFFFFF#000000##FFFFFF
##2D41961.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4196;
/* rgb */ color: rgb(45, 65, 150);
/* oklch */ color: oklch(41.1% 0.141 269.3);
Tailwind
colors: {
  custom: {
    50: '#7375b6',
    500: '#2d4196',
    950: '#000000',
  },
}
SCSS
$custom: #2d4196;
$custom-light: #7375b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4196",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 228.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41118,
    "c": 0.14126,
    "h": 269.3
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4196

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

Preview Lab → · Contrast checker → · Palette generator →

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