#2D4690#2D4690

#2D4690 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.126 H 266.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D4690
RGBrgb(45, 70, 144)
HSLhsl(225, 52%, 37%)
HSVhsv(225, 69%, 56%)
CMYKcmyk(68.7%, 51.4%, 0%, 43.5%)
CIE-LABlab(31.70, 16.29, -43.86)
CIE-LCHlch(31.70, 46.78, 290.37°)
OKLaboklab(41.7% -0.007 -0.1258)
OKLCHoklch(41.7% 0.126 266.8)
XYZxyz(8.3046, 6.9510, 27.2842)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4690 #90772D
analogous
#2D7890 #2D4690 #452D90
triadic
#2D4690 #902D46 #46902D
tetradic
#2D4690 #902D78 #90772D #2D9045
square
#2D4690 #902D78 #90772D #2D9045
split-complementary
#2D4690 #90452D #78902D
monochromatic
#101933 #1E2F61 #2D4690 #3C5DBF #6882D0

Accessibility & contrast

On white

8.79
#2D4690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D4690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4690
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4690#FFFFFF#000000##FFFFFF
##2D46901.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4690;
/* rgb */ color: rgb(45, 70, 144);
/* oklch */ color: oklch(41.7% 0.126 266.8);
Tailwind
colors: {
  custom: {
    50: '#7279b1',
    500: '#2d4690',
    950: '#000000',
  },
}
SCSS
$custom: #2d4690;
$custom-light: #7279b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4690",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 224.848,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41704,
    "c": 0.12601,
    "h": 266.8
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#2D4690
secondary
#B6A162
accent
#B74CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4690

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

Preview Lab → · Contrast checker → · Palette generator →

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