#2D4495#2D4495

#2D4495 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.136 H 268.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2D4495
RGBrgb(45, 68, 149)
HSLhsl(227, 54%, 38%)
HSVhsv(227, 70%, 58%)
CMYKcmyk(69.8%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.49, 19.53, -47.25)
CIE-LCHlch(31.49, 51.12, 292.46°)
OKLaboklab(41.66% -0.0046 -0.1358)
OKLCHoklch(41.66% 0.136 268.1)
XYZxyz(8.5723, 6.8612, 29.3005)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4495 #957E2D
analogous
#2D7895 #2D4495 #4A2D95
triadic
#2D4495 #952D44 #44952D
tetradic
#2D4495 #952D78 #957E2D #2D954A
square
#2D4495 #952D78 #957E2D #2D954A
split-complementary
#2D4495 #954A2D #78952D
monochromatic
#111937 #1F2F66 #2D4495 #3B5AC4 #6A81D2

Accessibility & contrast

On white

8.85
#2D4495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D4495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4495
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4495#FFFFFF#000000##FFFFFF
##2D44951.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4495;
/* rgb */ color: rgb(45, 68, 149);
/* oklch */ color: oklch(41.7% 0.136 268.1);
Tailwind
colors: {
  custom: {
    50: '#7377b5',
    500: '#2d4495',
    950: '#000000',
  },
}
SCSS
$custom: #2d4495;
$custom-light: #7377b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4495",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 226.731,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.1359,
    "h": 268.1
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#2D4495
secondary
#B9A665
accent
#BD4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4495

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

Preview Lab → · Contrast checker → · Palette generator →

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