#2D4CA0#2D4CA0

#2D4CA0 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.141 H 265.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2D4CA0
RGBrgb(45, 76, 160)
HSLhsl(224, 56%, 40%)
HSVhsv(224, 72%, 63%)
CMYKcmyk(71.9%, 52.5%, 0%, 37.3%)
CIE-LABlab(34.53, 18.33, -48.99)
CIE-LCHlch(34.53, 52.31, 290.51°)
OKLaboklab(44.21% -0.0107 -0.1408)
OKLCHoklch(44.21% 0.141 265.6)
XYZxyz(10.0096, 8.2638, 34.3184)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CA0 #A0812D
analogous
#2D86A0 #2D4CA0 #472DA0
triadic
#2D4CA0 #A02D4C #4CA02D
tetradic
#2D4CA0 #A02D86 #A0812D #2DA047
square
#2D4CA0 #A02D86 #A0812D #2DA047
split-complementary
#2D4CA0 #A0472D #86A02D
monochromatic
#121F40 #203570 #2D4CA0 #4166C9 #708CD7

Accessibility & contrast

On white

7.92
#2D4CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D4CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CA0
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CA0#FFFFFF#000000##FFFFFF
##2D4CA01.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4ca0;
/* rgb */ color: rgb(45, 76, 160);
/* oklch */ color: oklch(44.2% 0.141 265.6);
Tailwind
colors: {
  custom: {
    50: '#757dbd',
    500: '#2d4ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ca0;
$custom-light: #757dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ca0",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 223.826,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.14125,
    "h": 265.6
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#2D4CA0
secondary
#BEA86B
accent
#B748DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D4CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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