#2D4A9C#2D4A9C

#2D4A9C is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.138 H 266.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2D4A9C
RGBrgb(45, 74, 156)
HSLhsl(224, 55%, 39%)
HSVhsv(224, 71%, 61%)
CMYKcmyk(71.2%, 52.6%, 0%, 38.8%)
CIE-LABlab(33.68, 18.15, -47.95)
CIE-LCHlch(33.68, 51.27, 290.73°)
OKLaboklab(43.48% -0.0094 -0.1378)
OKLCHoklch(43.48% 0.138 266.1)
XYZxyz(9.5296, 7.8548, 32.4599)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A9C #9C7F2D
analogous
#2D829C #2D4A9C #472D9C
triadic
#2D4A9C #9C2D4A #4A9C2D
tetradic
#2D4A9C #9C2D82 #9C7F2D #2D9C47
square
#2D4A9C #9C2D82 #9C7F2D #2D9C47
split-complementary
#2D4A9C #9C472D #829C2D
monochromatic
#121D3D #1F336D #2D4A9C #3F62C8 #6E89D5

Accessibility & contrast

On white

8.17
#2D4A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D4A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A9C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A9C#FFFFFF#000000##FFFFFF
##2D4A9C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16559F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4a9c;
/* rgb */ color: rgb(45, 74, 156);
/* oklch */ color: oklch(43.5% 0.138 266.1);
Tailwind
colors: {
  custom: {
    50: '#747cba',
    500: '#2d4a9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a9c;
$custom-light: #747cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a9c",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 224.324,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.13813,
    "h": 266.1
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#2D4A9C
secondary
#BCA668
accent
#B849DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D4A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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