#2D4FC3#2D4FC3

#2D4FC3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.185 H 266.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2D4FC3
RGBrgb(45, 79, 195)
HSLhsl(226, 63%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(76.9%, 59.5%, 0%, 23.5%)
CIE-LABlab(38.00, 29.56, -64.07)
CIE-LCHlch(38.00, 70.56, 294.77°)
OKLaboklab(47.67% -0.011 -0.1851)
OKLCHoklch(47.67% 0.185 266.6)
XYZxyz(13.7250, 10.0884, 52.8431)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FC3 #C3A12D
analogous
#2D9AC3 #2D4FC3 #562DC3
triadic
#2D4FC3 #C32D4F #4FC32D
tetradic
#2D4FC3 #C32D9A #C3A12D #2DC356
square
#2D4FC3 #C32D9A #C3A12D #2DC356
split-complementary
#2D4FC3 #C3562D #9AC32D
monochromatic
#162760 #223B91 #2D4FC3 #5573D8 #879CE3

Accessibility & contrast

On white

6.96
#2D4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D4FC3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FC3#FFFFFF#000000##FFFFFF
##2D4FC31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d4fc3;
/* rgb */ color: rgb(45, 79, 195);
/* oklch */ color: oklch(47.7% 0.185 266.6);
Tailwind
colors: {
  custom: {
    50: '#7d7fd6',
    500: '#2d4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fc3;
$custom-light: #7d7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fc3",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 226.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.18543,
    "h": 266.6
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#2D4FC3
secondary
#CDBB7F
accent
#C142E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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