#2D4592#2D4592

#2D4592 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.130 H 267.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2D4592
RGBrgb(45, 69, 146)
HSLhsl(226, 53%, 37%)
HSVhsv(226, 69%, 57%)
CMYKcmyk(69.2%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.55, 17.72, -45.31)
CIE-LCHlch(31.55, 48.65, 291.36°)
OKLaboklab(41.64% -0.0058 -0.1301)
OKLCHoklch(41.64% 0.13 267.4)
XYZxyz(8.3968, 6.8886, 28.0757)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4592 #927A2D
analogous
#2D7792 #2D4592 #482D92
triadic
#2D4592 #922D45 #45922D
tetradic
#2D4592 #922D77 #927A2D #2D9248
square
#2D4592 #922D77 #927A2D #2D9248
split-complementary
#2D4592 #92482D #77922D
monochromatic
#101934 #1F2F63 #2D4592 #3B5BC1 #6981D1

Accessibility & contrast

On white

8.83
#2D4592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D4592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4592
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4592#FFFFFF#000000##FFFFFF
##2D45921.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4592;
/* rgb */ color: rgb(45, 69, 146);
/* oklch */ color: oklch(41.6% 0.130 267.4);
Tailwind
colors: {
  custom: {
    50: '#7278b2',
    500: '#2d4592',
    950: '#000000',
  },
}
SCSS
$custom: #2d4592;
$custom-light: #7278b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4592",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 225.743,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.13025,
    "h": 267.4
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#2D4592
secondary
#B7A363
accent
#BA4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4592

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

Preview Lab → · Contrast checker → · Palette generator →

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