#2D4A9F#2D4A9F

#2D4A9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.142 H 266.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2D4A9F
RGBrgb(45, 74, 159)
HSLhsl(225, 56%, 40%)
HSVhsv(225, 72%, 62%)
CMYKcmyk(71.7%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.89, 19.29, -49.41)
CIE-LCHlch(33.89, 53.05, 291.33°)
OKLaboklab(43.71% -0.0091 -0.1421)
OKLCHoklch(43.71% 0.142 266.3)
XYZxyz(9.7868, 7.9576, 33.8144)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A9F #9F822D
analogous
#2D839F #2D4A9F #492D9F
triadic
#2D4A9F #9F2D4A #4A9F2D
tetradic
#2D4A9F #9F2D83 #9F822D #2D9F49
square
#2D4A9F #9F2D83 #9F822D #2D9F49
split-complementary
#2D4A9F #9F492D #839F2D
monochromatic
#121E40 #20346F #2D4A9F #4063C9 #708AD6

Accessibility & contrast

On white

8.10
#2D4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4A9F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A9F#FFFFFF#000000##FFFFFF
##2D4A9F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4a9f;
/* rgb */ color: rgb(45, 74, 159);
/* oklch */ color: oklch(43.7% 0.142 266.3);
Tailwind
colors: {
  custom: {
    50: '#757cbc',
    500: '#2d4a9f',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a9f;
$custom-light: #757cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a9f",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 224.737,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.1424,
    "h": 266.3
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#2D4A9F
secondary
#BEA86A
accent
#B949DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D4A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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