#2D4492#2D4492

#2D4492 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.132 H 267.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2D4492
RGBrgb(45, 68, 146)
HSLhsl(226, 53%, 37%)
HSVhsv(226, 69%, 57%)
CMYKcmyk(69.2%, 53.4%, 0%, 42.7%)
CIE-LABlab(31.27, 18.40, -45.77)
CIE-LCHlch(31.27, 49.33, 291.90°)
OKLaboklab(41.43% -0.0049 -0.1315)
OKLCHoklch(41.43% 0.132 267.9)
XYZxyz(8.3358, 6.7667, 28.0553)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4492 #927B2D
analogous
#2D7692 #2D4492 #492D92
triadic
#2D4492 #922D44 #44922D
tetradic
#2D4492 #922D76 #927B2D #2D9249
square
#2D4492 #922D76 #927B2D #2D9249
split-complementary
#2D4492 #92492D #76922D
monochromatic
#101834 #1F2E63 #2D4492 #3B5AC1 #6980D1

Accessibility & contrast

On white

8.92
#2D4492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D4492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4492
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4492#FFFFFF#000000##FFFFFF
##2D44921.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4492;
/* rgb */ color: rgb(45, 68, 146);
/* oklch */ color: oklch(41.4% 0.132 267.9);
Tailwind
colors: {
  custom: {
    50: '#7277b2',
    500: '#2d4492',
    950: '#000000',
  },
}
SCSS
$custom: #2d4492;
$custom-light: #7277b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4492",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 226.337,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.13156,
    "h": 267.9
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#2D4492
secondary
#B7A463
accent
#BB4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4492

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

Preview Lab → · Contrast checker → · Palette generator →

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