#2D4D95#2D4D95

#2D4D95 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.124 H 264.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2D4D95
RGBrgb(45, 77, 149)
HSLhsl(222, 54%, 38%)
HSVhsv(222, 70%, 58%)
CMYKcmyk(69.8%, 48.3%, 0%, 41.6%)
CIE-LABlab(34.05, 13.48, -43.11)
CIE-LCHlch(34.05, 45.16, 287.36°)
OKLaboklab(43.61% -0.0131 -0.1235)
OKLCHoklch(43.61% 0.124 264)
XYZxyz(9.1590, 8.0347, 29.4961)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D95 #95752D
analogous
#2D8195 #2D4D95 #412D95
triadic
#2D4D95 #952D4D #4D952D
tetradic
#2D4D95 #952D81 #95752D #2D9541
square
#2D4D95 #952D81 #95752D #2D9541
split-complementary
#2D4D95 #95412D #81952D
monochromatic
#111C37 #1F3566 #2D4D95 #3B65C4 #6A8AD2

Accessibility & contrast

On white

8.05
#2D4D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2D4D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D95
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D95#FFFFFF#000000##FFFFFF
##2D4D951.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#104C94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4d95;
/* rgb */ color: rgb(45, 77, 149);
/* oklch */ color: oklch(43.6% 0.124 264.0);
Tailwind
colors: {
  custom: {
    50: '#737eb5',
    500: '#2d4d95',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d95;
$custom-light: #737eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d95",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 221.538,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.12419,
    "h": 264
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#2D4D95
secondary
#B99F65
accent
#B04BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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