#2D4D93#2D4D93

#2D4D93 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.121 H 263.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2D4D93
RGBrgb(45, 77, 147)
HSLhsl(221, 53%, 38%)
HSVhsv(221, 69%, 58%)
CMYKcmyk(69.4%, 47.6%, 0%, 42.4%)
CIE-LABlab(33.92, 12.72, -42.10)
CIE-LCHlch(33.92, 43.98, 286.81°)
OKLaboklab(43.47% -0.0134 -0.1205)
OKLCHoklch(43.47% 0.121 263.7)
XYZxyz(9.0007, 7.9713, 28.6624)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D93 #93732D
analogous
#2D8093 #2D4D93 #402D93
triadic
#2D4D93 #932D4D #4D932D
tetradic
#2D4D93 #932D80 #93732D #2D9340
square
#2D4D93 #932D80 #93732D #2D9340
split-complementary
#2D4D93 #93402D #80932D
monochromatic
#101C35 #1F3464 #2D4D93 #3B66C2 #698AD1

Accessibility & contrast

On white

8.09
#2D4D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D4D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D93
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D93#FFFFFF#000000##FFFFFF
##2D4D931.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295596
Deuteranopia (green-blind)
#144B92
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4d93;
/* rgb */ color: rgb(45, 77, 147);
/* oklch */ color: oklch(43.5% 0.121 263.7);
Tailwind
colors: {
  custom: {
    50: '#727eb3',
    500: '#2d4d93',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d93;
$custom-light: #727eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d93",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 147
  },
  "hsl": {
    "h": 221.176,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.12129,
    "h": 263.7
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#2D4D93
secondary
#B89E64
accent
#AF4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4D93

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

Preview Lab → · Contrast checker → · Palette generator →

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