#2D4AB9#2D4AB9

#2D4AB9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.178 H 267.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D4AB9
RGBrgb(45, 74, 185)
HSLhsl(228, 61%, 45%)
HSVhsv(228, 76%, 73%)
CMYKcmyk(75.7%, 60%, 0%, 27.5%)
CIE-LABlab(35.90, 29.09, -61.63)
CIE-LCHlch(35.90, 68.15, 295.27°)
OKLaboklab(45.85% -0.0078 -0.178)
OKLCHoklch(45.85% 0.178 267.5)
XYZxyz(12.2849, 8.9569, 46.9709)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4AB9 #B99C2D
analogous
#2D90B9 #2D4AB9 #562DB9
triadic
#2D4AB9 #B92D4A #4AB92D
tetradic
#2D4AB9 #B92D90 #B99C2D #2DB956
square
#2D4AB9 #B92D90 #B99C2D #2DB956
split-complementary
#2D4AB9 #B9562D #90B92D
monochromatic
#152357 #213688 #2D4AB9 #4F6BD4 #8094E0

Accessibility & contrast

On white

7.52
#2D4AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D4AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4AB9
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4AB9#FFFFFF#000000##FFFFFF
##2D4AB91.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4ab9;
/* rgb */ color: rgb(45, 74, 185);
/* oklch */ color: oklch(45.8% 0.178 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7ccf',
    500: '#2d4ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ab9;
$custom-light: #7b7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ab9",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 227.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.1782,
    "h": 267.5
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#2D4AB9
secondary
#C9B879
accent
#C344E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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