#2D4AB3#2D4AB3

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

Color values

HEX#2D4AB3
RGBrgb(45, 74, 179)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(74.9%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.42, 26.85, -58.88)
CIE-LCHlch(35.42, 64.71, 294.51°)
OKLaboklab(45.34% -0.0079 -0.1699)
OKLCHoklch(45.34% 0.17 267.3)
XYZxyz(11.6648, 8.7089, 43.7053)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4AB3 #B3962D
analogous
#2D8DB3 #2D4AB3 #532DB3
triadic
#2D4AB3 #B32D4A #4AB32D
tetradic
#2D4AB3 #B32D8D #B3962D #2DB353
square
#2D4AB3 #B32D8D #B3962D #2DB353
split-complementary
#2D4AB3 #B3532D #8DB32D
monochromatic
#142251 #213682 #2D4AB3 #4B68D2 #7C91DE

Accessibility & contrast

On white

7.66
#2D4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D4AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4AB3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4AB3#FFFFFF#000000##FFFFFF
##2D4AB31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4ab3;
/* rgb */ color: rgb(45, 74, 179);
/* oklch */ color: oklch(45.3% 0.170 267.3);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2d4ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ab3;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ab3",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 227.015,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.17013,
    "h": 267.3
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#2D4AB3
secondary
#C7B575
accent
#C145E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D4AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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