#2D4EB9#2D4EB9

#2D4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.173 H 266.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2D4EB9
RGBrgb(45, 78, 185)
HSLhsl(226, 61%, 45%)
HSVhsv(226, 76%, 73%)
CMYKcmyk(75.7%, 57.8%, 0%, 27.5%)
CIE-LABlab(36.94, 26.47, -59.93)
CIE-LCHlch(36.94, 65.52, 293.83°)
OKLaboklab(46.63% -0.0106 -0.173)
OKLCHoklch(46.63% 0.173 266.5)
XYZxyz(12.5605, 9.5081, 47.0628)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EB9 #B9982D
analogous
#2D94B9 #2D4EB9 #522DB9
triadic
#2D4EB9 #B92D4E #4EB92D
tetradic
#2D4EB9 #B92D94 #B9982D #2DB952
square
#2D4EB9 #B92D94 #B9982D #2DB952
split-complementary
#2D4EB9 #B9522D #94B92D
monochromatic
#152457 #213988 #2D4EB9 #4F6ED4 #8097E0

Accessibility & contrast

On white

7.24
#2D4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D4EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EB9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EB9#FFFFFF#000000##FFFFFF
##2D4EB91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d4eb9;
/* rgb */ color: rgb(45, 78, 185);
/* oklch */ color: oklch(46.6% 0.173 266.5);
Tailwind
colors: {
  custom: {
    50: '#7b7fcf',
    500: '#2d4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d4eb9;
$custom-light: #7b7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4eb9",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 225.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.1733,
    "h": 266.5
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#2D4EB9
secondary
#C9B679
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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