#2D4EC3#2D4EC3

#2D4EC3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.187 H 266.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2D4EC3
RGBrgb(45, 78, 195)
HSLhsl(227, 63%, 47%)
HSVhsv(227, 77%, 76%)
CMYKcmyk(76.9%, 60%, 0%, 23.5%)
CIE-LABlab(37.74, 30.21, -64.49)
CIE-LCHlch(37.74, 71.21, 295.10°)
OKLaboklab(47.48% -0.0103 -0.1863)
OKLCHoklch(47.48% 0.187 266.8)
XYZxyz(13.6535, 9.9453, 52.8192)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EC3 #C3A22D
analogous
#2D99C3 #2D4EC3 #572DC3
triadic
#2D4EC3 #C32D4E #4EC32D
tetradic
#2D4EC3 #C32D99 #C3A22D #2DC357
square
#2D4EC3 #C32D99 #C3A22D #2DC357
split-complementary
#2D4EC3 #C3572D #99C32D
monochromatic
#162660 #223A91 #2D4EC3 #5572D8 #879BE3

Accessibility & contrast

On white

7.02
#2D4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2D4EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EC3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EC3#FFFFFF#000000##FFFFFF
##2D4EC31.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4ec3;
/* rgb */ color: rgb(45, 78, 195);
/* oklch */ color: oklch(47.5% 0.187 266.8);
Tailwind
colors: {
  custom: {
    50: '#7d7fd6',
    500: '#2d4ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ec3;
$custom-light: #7d7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ec3",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 226.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.18663,
    "h": 266.8
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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