#2D4DAF#2D4DAF

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

Color values

HEX#2D4DAF
RGBrgb(45, 77, 175)
HSLhsl(225, 59%, 43%)
HSVhsv(225, 74%, 69%)
CMYKcmyk(74.3%, 56%, 0%, 31.4%)
CIE-LABlab(35.91, 23.36, -55.72)
CIE-LCHlch(35.91, 60.41, 292.75°)
OKLaboklab(45.61% -0.0103 -0.1606)
OKLCHoklch(45.61% 0.161 266.3)
XYZxyz(11.4712, 8.9596, 41.6739)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DAF #AF8F2D
analogous
#2D8EAF #2D4DAF #4E2DAF
triadic
#2D4DAF #AF2D4D #4DAF2D
tetradic
#2D4DAF #AF2D8E #AF8F2D #2DAF4E
square
#2D4DAF #AF2D8E #AF8F2D #2DAF4E
split-complementary
#2D4DAF #AF4E2D #8EAF2D
monochromatic
#14224E #20387E #2D4DAF #496AD0 #7A92DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4DAF#FFFFFF#000000##FFFFFF
##2D4DAF1.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)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4daf;
/* rgb */ color: rgb(45, 77, 175);
/* oklch */ color: oklch(45.6% 0.161 266.3);
Tailwind
colors: {
  custom: {
    50: '#787ec8',
    500: '#2d4daf',
    950: '#000000',
  },
}
SCSS
$custom: #2d4daf;
$custom-light: #787ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4daf",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 225.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.16093,
    "h": 266.3
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#2D4DAF
secondary
#C5B173
accent
#BC46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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