#2D4292#2D4292

#2D4292 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.134 H 268.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2D4292
RGBrgb(45, 66, 146)
HSLhsl(228, 53%, 37%)
HSVhsv(228, 69%, 57%)
CMYKcmyk(69.2%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.71, 19.75, -46.67)
CIE-LCHlch(30.71, 50.68, 292.94°)
OKLaboklab(41% -0.003 -0.1342)
OKLCHoklch(41% 0.134 268.7)
XYZxyz(8.2169, 6.5289, 28.0157)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4292 #927D2D
analogous
#2D7492 #2D4292 #4B2D92
triadic
#2D4292 #922D42 #42922D
tetradic
#2D4292 #922D74 #927D2D #2D924B
square
#2D4292 #922D74 #927D2D #2D924B
split-complementary
#2D4292 #924B2D #74922D
monochromatic
#101834 #1F2D63 #2D4292 #3B57C1 #697ED1

Accessibility & contrast

On white

9.11
#2D4292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D4292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4292
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4292#FFFFFF#000000##FFFFFF
##2D42921.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084D95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4292;
/* rgb */ color: rgb(45, 66, 146);
/* oklch */ color: oklch(41.0% 0.134 268.7);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2d4292',
    950: '#000000',
  },
}
SCSS
$custom: #2d4292;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4292",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 227.525,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.1342,
    "h": 268.7
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#2D4292
secondary
#B7A663
accent
#BE4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4292

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

Preview Lab → · Contrast checker → · Palette generator →

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