#2D4AAF#2D4AAF

#2D4AAF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.165 H 267.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2D4AAF
RGBrgb(45, 74, 175)
HSLhsl(227, 59%, 43%)
HSVhsv(227, 74%, 69%)
CMYKcmyk(74.3%, 57.7%, 0%, 31.4%)
CIE-LABlab(35.10, 25.34, -57.02)
CIE-LCHlch(35.10, 62.40, 293.96°)
OKLaboklab(45% -0.008 -0.1645)
OKLCHoklch(45% 0.165 267.2)
XYZxyz(11.2661, 8.5494, 41.6056)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4AAF #AF922D
analogous
#2D8BAF #2D4AAF #512DAF
triadic
#2D4AAF #AF2D4A #4AAF2D
tetradic
#2D4AAF #AF2D8B #AF922D #2DAF51
square
#2D4AAF #AF2D8B #AF922D #2DAF51
split-complementary
#2D4AAF #AF512D #8BAF2D
monochromatic
#14214E #20357E #2D4AAF #4967D0 #7A90DD

Accessibility & contrast

On white

7.75
#2D4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D4AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4AAF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4AAF#FFFFFF#000000##FFFFFF
##2D4AAF1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4aaf;
/* rgb */ color: rgb(45, 74, 175);
/* oklch */ color: oklch(45.0% 0.165 267.2);
Tailwind
colors: {
  custom: {
    50: '#797cc8',
    500: '#2d4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2d4aaf;
$custom-light: #797cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4aaf",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 226.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.16469,
    "h": 267.2
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#2D4AAF
secondary
#C5B373
accent
#BF46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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