#2D4FAA#2D4FAA

#2D4FAA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.151 H 265.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2D4FAA
RGBrgb(45, 79, 170)
HSLhsl(224, 58%, 42%)
HSVhsv(224, 74%, 67%)
CMYKcmyk(73.5%, 53.5%, 0%, 33.3%)
CIE-LABlab(36.08, 20.14, -52.46)
CIE-LCHlch(36.08, 56.19, 291.00°)
OKLaboklab(45.62% -0.0123 -0.151)
OKLCHoklch(45.62% 0.151 265.3)
XYZxyz(11.1313, 9.0509, 39.1828)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FAA #AA882D
analogous
#2D8EAA #2D4FAA #492DAA
triadic
#2D4FAA #AA2D4F #4FAA2D
tetradic
#2D4FAA #AA2D8E #AA882D #2DAA49
square
#2D4FAA #AA2D8E #AA882D #2DAA49
split-complementary
#2D4FAA #AA492D #8EAA2D
monochromatic
#132249 #20397A #2D4FAA #466BCE #7792DB

Accessibility & contrast

On white

7.47
#2D4FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D4FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FAA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FAA#FFFFFF#000000##FFFFFF
##2D4FAA1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4faa;
/* rgb */ color: rgb(45, 79, 170);
/* oklch */ color: oklch(45.6% 0.151 265.3);
Tailwind
colors: {
  custom: {
    50: '#777fc4',
    500: '#2d4faa',
    950: '#000000',
  },
}
SCSS
$custom: #2d4faa;
$custom-light: #777fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4faa",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 223.68,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45622,
    "c": 0.15149,
    "h": 265.3
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#2D4FAA
secondary
#C3AC70
accent
#B746E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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