#2D4696#2D4696

#2D4696 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.135 H 267.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2D4696
RGBrgb(45, 70, 150)
HSLhsl(226, 54%, 38%)
HSVhsv(226, 70%, 59%)
CMYKcmyk(70%, 53.3%, 0%, 41.2%)
CIE-LABlab(32.12, 18.56, -46.83)
CIE-LCHlch(32.12, 50.38, 291.62°)
OKLaboklab(42.16% -0.0063 -0.1346)
OKLCHoklch(42.16% 0.135 267.3)
XYZxyz(8.7755, 7.1394, 29.7638)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4696 #967D2D
analogous
#2D7A96 #2D4696 #482D96
triadic
#2D4696 #962D46 #46962D
tetradic
#2D4696 #962D7A #967D2D #2D9648
square
#2D4696 #962D7A #967D2D #2D9648
split-complementary
#2D4696 #96482D #7A962D
monochromatic
#111A38 #1F3067 #2D4696 #3C5CC4 #6B84D3

Accessibility & contrast

On white

8.65
#2D4696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D4696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4696
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4696#FFFFFF#000000##FFFFFF
##2D46961.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125199
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4696;
/* rgb */ color: rgb(45, 70, 150);
/* oklch */ color: oklch(42.2% 0.135 267.3);
Tailwind
colors: {
  custom: {
    50: '#7379b5',
    500: '#2d4696',
    950: '#000000',
  },
}
SCSS
$custom: #2d4696;
$custom-light: #7379b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4696",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 225.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.13472,
    "h": 267.3
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#2D4696
secondary
#B9A565
accent
#BA4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4696

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

Preview Lab → · Contrast checker → · Palette generator →

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