#2D4EAF#2D4EAF

#2D4EAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.160 H 266.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4EAF
RGBrgb(45, 78, 175)
HSLhsl(225, 59%, 43%)
HSVhsv(225, 74%, 69%)
CMYKcmyk(74.3%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.18, 22.70, -55.28)
CIE-LCHlch(36.18, 59.76, 292.32°)
OKLaboklab(45.81% -0.0111 -0.1593)
OKLCHoklch(45.81% 0.16 266)
XYZxyz(11.5417, 9.1006, 41.6974)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EAF #AF8E2D
analogous
#2D8FAF #2D4EAF #4D2DAF
triadic
#2D4EAF #AF2D4E #4EAF2D
tetradic
#2D4EAF #AF2D8F #AF8E2D #2DAF4D
square
#2D4EAF #AF2D8F #AF8E2D #2DAF4D
split-complementary
#2D4EAF #AF4D2D #8FAF2D
monochromatic
#14234E #20387E #2D4EAF #496BD0 #7A93DD

Accessibility & contrast

On white

7.45
#2D4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4EAF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EAF#FFFFFF#000000##FFFFFF
##2D4EAF1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4eaf;
/* rgb */ color: rgb(45, 78, 175);
/* oklch */ color: oklch(45.8% 0.160 266.0);
Tailwind
colors: {
  custom: {
    50: '#787fc8',
    500: '#2d4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2d4eaf;
$custom-light: #787fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4eaf",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 224.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.15968,
    "h": 266
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#2D4EAF
secondary
#C5B073
accent
#BA46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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