#2D4FAF#2D4FAF

#2D4FAF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.158 H 265.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2D4FAF
RGBrgb(45, 79, 175)
HSLhsl(224, 59%, 43%)
HSVhsv(224, 74%, 69%)
CMYKcmyk(74.3%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.45, 22.03, -54.84)
CIE-LCHlch(36.45, 59.10, 291.89°)
OKLaboklab(46.02% -0.0119 -0.158)
OKLCHoklch(46.02% 0.158 265.7)
XYZxyz(11.6133, 9.2437, 41.7213)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FAF #AF8D2D
analogous
#2D90AF #2D4FAF #4C2DAF
triadic
#2D4FAF #AF2D4F #4FAF2D
tetradic
#2D4FAF #AF2D90 #AF8D2D #2DAF4C
square
#2D4FAF #AF2D90 #AF8D2D #2DAF4C
split-complementary
#2D4FAF #AF4C2D #90AF2D
monochromatic
#14234E #20397E #2D4FAF #496CD0 #7A94DD

Accessibility & contrast

On white

7.37
#2D4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D4FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FAF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FAF#FFFFFF#000000##FFFFFF
##2D4FAF1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4faf;
/* rgb */ color: rgb(45, 79, 175);
/* oklch */ color: oklch(46.0% 0.158 265.7);
Tailwind
colors: {
  custom: {
    50: '#787fc8',
    500: '#2d4faf',
    950: '#000000',
  },
}
SCSS
$custom: #2d4faf;
$custom-light: #787fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4faf",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 224.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.15843,
    "h": 265.7
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#2D4FAF
secondary
#C5AF73
accent
#B946E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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