#2D4DB2#2D4DB2

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

Color values

HEX#2D4DB2
RGBrgb(45, 77, 178)
HSLhsl(226, 60%, 44%)
HSVhsv(226, 75%, 70%)
CMYKcmyk(74.7%, 56.7%, 0%, 30.2%)
CIE-LABlab(36.14, 24.49, -57.12)
CIE-LCHlch(36.14, 62.15, 293.21°)
OKLaboklab(45.85% -0.0102 -0.1647)
OKLCHoklch(45.85% 0.165 266.5)
XYZxyz(11.7691, 9.0787, 43.2430)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DB2 #B2922D
analogous
#2D8FB2 #2D4DB2 #4F2DB2
triadic
#2D4DB2 #B22D4D #4DB22D
tetradic
#2D4DB2 #B22D8F #B2922D #2DB24F
square
#2D4DB2 #B22D8F #B2922D #2DB24F
split-complementary
#2D4DB2 #B24F2D #8FB22D
monochromatic
#142350 #213881 #2D4DB2 #4B6BD1 #7C93DE

Accessibility & contrast

On white

7.46
#2D4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4DB2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DB2#FFFFFF#000000##FFFFFF
##2D4DB21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4db2;
/* rgb */ color: rgb(45, 77, 178);
/* oklch */ color: oklch(45.9% 0.165 266.5);
Tailwind
colors: {
  custom: {
    50: '#797eca',
    500: '#2d4db2',
    950: '#000000',
  },
}
SCSS
$custom: #2d4db2;
$custom-light: #797eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4db2",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 225.564,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.16504,
    "h": 266.5
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#2D4DB2
secondary
#C6B375
accent
#BD45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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