#2D4AB2#2D4AB2

#2D4AB2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.169 H 267.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2D4AB2
RGBrgb(45, 74, 178)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(74.7%, 58.4%, 0%, 30.2%)
CIE-LABlab(35.34, 26.47, -58.42)
CIE-LCHlch(35.34, 64.14, 294.38°)
OKLaboklab(45.25% -0.0079 -0.1686)
OKLCHoklch(45.25% 0.169 267.3)
XYZxyz(11.5641, 8.6686, 43.1746)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4AB2 #B2952D
analogous
#2D8CB2 #2D4AB2 #522DB2
triadic
#2D4AB2 #B22D4A #4AB22D
tetradic
#2D4AB2 #B22D8C #B2952D #2DB252
square
#2D4AB2 #B22D8C #B2952D #2DB252
split-complementary
#2D4AB2 #B2522D #8CB22D
monochromatic
#142150 #213681 #2D4AB2 #4B68D1 #7C91DE

Accessibility & contrast

On white

7.68
#2D4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D4AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4AB2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4AB2#FFFFFF#000000##FFFFFF
##2D4AB21.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ab2;
/* rgb */ color: rgb(45, 74, 178);
/* oklch */ color: oklch(45.3% 0.169 267.3);
Tailwind
colors: {
  custom: {
    50: '#797cca',
    500: '#2d4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ab2;
$custom-light: #797cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ab2",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 226.917,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.16878,
    "h": 267.3
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#2D4AB2
secondary
#C6B475
accent
#C045E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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