#2D4DB3#2D4DB3

#2D4DB3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.166 H 266.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2D4DB3
RGBrgb(45, 77, 179)
HSLhsl(226, 60%, 44%)
HSVhsv(226, 75%, 70%)
CMYKcmyk(74.9%, 57%, 0%, 29.8%)
CIE-LABlab(36.21, 24.87, -57.59)
CIE-LCHlch(36.21, 62.73, 293.36°)
OKLaboklab(45.93% -0.0101 -0.1661)
OKLCHoklch(45.93% 0.166 266.5)
XYZxyz(11.8699, 9.1190, 43.7737)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DB3 #B3932D
analogous
#2D90B3 #2D4DB3 #502DB3
triadic
#2D4DB3 #B32D4D #4DB32D
tetradic
#2D4DB3 #B32D90 #B3932D #2DB350
square
#2D4DB3 #B32D90 #B3932D #2DB350
split-complementary
#2D4DB3 #B3502D #90B32D
monochromatic
#142351 #213882 #2D4DB3 #4B6BD2 #7C94DE

Accessibility & contrast

On white

7.44
#2D4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2D4DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DB3
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DB3#FFFFFF#000000##FFFFFF
##2D4DB31.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4db3;
/* rgb */ color: rgb(45, 77, 179);
/* oklch */ color: oklch(45.9% 0.166 266.5);
Tailwind
colors: {
  custom: {
    50: '#797ecb',
    500: '#2d4db3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4db3;
$custom-light: #797ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4db3",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 225.672,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.16641,
    "h": 266.5
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#2D4DB3
secondary
#C7B375
accent
#BD45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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