#2D4DC3#2D4DC3

#2D4DC3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.188 H 267.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2D4DC3
RGBrgb(45, 77, 195)
HSLhsl(227, 63%, 47%)
HSVhsv(227, 77%, 76%)
CMYKcmyk(76.9%, 60.5%, 0%, 23.5%)
CIE-LABlab(37.49, 30.86, -64.90)
CIE-LCHlch(37.49, 71.86, 295.43°)
OKLaboklab(47.29% -0.0097 -0.1876)
OKLCHoklch(47.29% 0.188 267)
XYZxyz(13.5830, 9.8042, 52.7957)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DC3 #C3A32D
analogous
#2D98C3 #2D4DC3 #582DC3
triadic
#2D4DC3 #C32D4D #4DC32D
tetradic
#2D4DC3 #C32D98 #C3A32D #2DC358
square
#2D4DC3 #C32D98 #C3A32D #2DC358
split-complementary
#2D4DC3 #C3582D #98C32D
monochromatic
#162660 #223991 #2D4DC3 #5571D8 #879BE3

Accessibility & contrast

On white

7.09
#2D4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D4DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DC3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DC3#FFFFFF#000000##FFFFFF
##2D4DC31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d4dc3;
/* rgb */ color: rgb(45, 77, 195);
/* oklch */ color: oklch(47.3% 0.188 267.0);
Tailwind
colors: {
  custom: {
    50: '#7d7ed6',
    500: '#2d4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4dc3;
$custom-light: #7d7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4dc3",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 227.2,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.18783,
    "h": 267
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#2D4DC3
secondary
#CDBC7F
accent
#C342E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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