#2D4392#2D4392

#2D4392 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.133 H 268.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4392
RGBrgb(45, 67, 146)
HSLhsl(227, 53%, 37%)
HSVhsv(227, 69%, 57%)
CMYKcmyk(69.2%, 54.1%, 0%, 42.7%)
CIE-LABlab(30.99, 19.08, -46.22)
CIE-LCHlch(30.99, 50.00, 292.43°)
OKLaboklab(41.21% -0.0039 -0.1328)
OKLCHoklch(41.21% 0.133 268.3)
XYZxyz(8.2759, 6.6467, 28.0354)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4392 #927C2D
analogous
#2D7592 #2D4392 #4A2D92
triadic
#2D4392 #922D43 #43922D
tetradic
#2D4392 #922D75 #927C2D #2D924A
square
#2D4392 #922D75 #927C2D #2D924A
split-complementary
#2D4392 #924A2D #75922D
monochromatic
#101834 #1F2E63 #2D4392 #3B58C1 #697FD1

Accessibility & contrast

On white

9.01
#2D4392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D4392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4392
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4392#FFFFFF#000000##FFFFFF
##2D43921.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4392;
/* rgb */ color: rgb(45, 67, 146);
/* oklch */ color: oklch(41.2% 0.133 268.3);
Tailwind
colors: {
  custom: {
    50: '#7276b3',
    500: '#2d4392',
    950: '#000000',
  },
}
SCSS
$custom: #2d4392;
$custom-light: #7276b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4392",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 226.931,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.13289,
    "h": 268.3
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#2D4392
secondary
#B7A563
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4392

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

Preview Lab → · Contrast checker → · Palette generator →

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