#2D4892#2D4892

#2D4892 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.126 H 266.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2D4892
RGBrgb(45, 72, 146)
HSLhsl(224, 53%, 37%)
HSVhsv(224, 69%, 57%)
CMYKcmyk(69.2%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.41, 15.70, -43.93)
CIE-LCHlch(32.41, 46.65, 289.66°)
OKLaboklab(42.29% -0.0087 -0.126)
OKLCHoklch(42.29% 0.126 266.1)
XYZxyz(8.5861, 7.2671, 28.1388)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4892 #92772D
analogous
#2D7B92 #2D4892 #442D92
triadic
#2D4892 #922D48 #48922D
tetradic
#2D4892 #922D7B #92772D #2D9244
square
#2D4892 #922D7B #92772D #2D9244
split-complementary
#2D4892 #92442D #7B922D
monochromatic
#101A34 #1F3163 #2D4892 #3B5FC1 #6985D1

Accessibility & contrast

On white

8.56
#2D4892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D4892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4892
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4892#FFFFFF#000000##FFFFFF
##2D48921.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#004890
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4892;
/* rgb */ color: rgb(45, 72, 146);
/* oklch */ color: oklch(42.3% 0.126 266.1);
Tailwind
colors: {
  custom: {
    50: '#727ab2',
    500: '#2d4892',
    950: '#000000',
  },
}
SCSS
$custom: #2d4892;
$custom-light: #727ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4892",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 223.96,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.12631,
    "h": 266.1
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#2D4892
secondary
#B7A163
accent
#B64CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4892

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

Preview Lab → · Contrast checker → · Palette generator →

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