#2D4FC1#2D4FC1

#2D4FC1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.183 H 266.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2D4FC1
RGBrgb(45, 79, 193)
HSLhsl(226, 62%, 47%)
HSVhsv(226, 77%, 76%)
CMYKcmyk(76.7%, 59.1%, 0%, 24.3%)
CIE-LABlab(37.84, 28.81, -63.16)
CIE-LCHlch(37.84, 69.42, 294.52°)
OKLaboklab(47.5% -0.011 -0.1824)
OKLCHoklch(47.5% 0.183 266.5)
XYZxyz(13.5004, 9.9986, 51.6601)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FC1 #C19F2D
analogous
#2D99C1 #2D4FC1 #552DC1
triadic
#2D4FC1 #C12D4F #4FC12D
tetradic
#2D4FC1 #C12D99 #C19F2D #2DC155
square
#2D4FC1 #C12D99 #C19F2D #2DC155
split-complementary
#2D4FC1 #C1552D #99C12D
monochromatic
#16265E #213B8F #2D4FC1 #5472D7 #869BE3

Accessibility & contrast

On white

7.00
#2D4FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2D4FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D4FC1
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FC1#FFFFFF#000000##FFFFFF
##2D4FC11.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d4fc1;
/* rgb */ color: rgb(45, 79, 193);
/* oklch */ color: oklch(47.5% 0.183 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c7fd5',
    500: '#2d4fc1',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fc1;
$custom-light: #7c7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fc1",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 193
  },
  "hsl": {
    "h": 226.216,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.18277,
    "h": 266.5
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#2D4FC1
secondary
#CCBA7E
accent
#C043E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D4FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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