#2D4CAF#2D4CAF

#2D4CAF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.162 H 266.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2D4CAF
RGBrgb(45, 76, 175)
HSLhsl(226, 59%, 43%)
HSVhsv(226, 74%, 69%)
CMYKcmyk(74.3%, 56.6%, 0%, 31.4%)
CIE-LABlab(35.64, 24.02, -56.15)
CIE-LCHlch(35.64, 61.08, 293.16°)
OKLaboklab(45.4% -0.0096 -0.1619)
OKLCHoklch(45.4% 0.162 266.6)
XYZxyz(11.4018, 8.8207, 41.6508)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CAF #AF902D
analogous
#2D8DAF #2D4CAF #4F2DAF
triadic
#2D4CAF #AF2D4C #4CAF2D
tetradic
#2D4CAF #AF2D8D #AF902D #2DAF4F
square
#2D4CAF #AF2D8D #AF902D #2DAF4F
split-complementary
#2D4CAF #AF4F2D #8DAF2D
monochromatic
#14224E #20377E #2D4CAF #4969D0 #7A91DD

Accessibility & contrast

On white

7.60
#2D4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D4CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CAF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CAF#FFFFFF#000000##FFFFFF
##2D4CAF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4caf;
/* rgb */ color: rgb(45, 76, 175);
/* oklch */ color: oklch(45.4% 0.162 266.6);
Tailwind
colors: {
  custom: {
    50: '#787dc8',
    500: '#2d4caf',
    950: '#000000',
  },
}
SCSS
$custom: #2d4caf;
$custom-light: #787dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4caf",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 225.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.16218,
    "h": 266.6
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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