#2D4EB3#2D4EB3

#2D4EB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.165 H 266.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4EB3
RGBrgb(45, 78, 179)
HSLhsl(225, 60%, 44%)
HSVhsv(225, 75%, 70%)
CMYKcmyk(74.9%, 56.4%, 0%, 29.8%)
CIE-LABlab(36.48, 24.21, -57.15)
CIE-LCHlch(36.48, 62.07, 292.96°)
OKLaboklab(46.13% -0.0109 -0.1648)
OKLCHoklch(46.13% 0.165 266.2)
XYZxyz(11.9404, 9.2600, 43.7972)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EB3 #B3922D
analogous
#2D91B3 #2D4EB3 #4F2DB3
triadic
#2D4EB3 #B32D4E #4EB32D
tetradic
#2D4EB3 #B32D91 #B3922D #2DB34F
square
#2D4EB3 #B32D91 #B3922D #2DB34F
split-complementary
#2D4EB3 #B34F2D #91B32D
monochromatic
#142351 #213982 #2D4EB3 #4B6CD2 #7C94DE

Accessibility & contrast

On white

7.36
#2D4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D4EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EB3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EB3#FFFFFF#000000##FFFFFF
##2D4EB31.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4eb3;
/* rgb */ color: rgb(45, 78, 179);
/* oklch */ color: oklch(46.1% 0.165 266.2);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2d4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d4eb3;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4eb3",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 225.224,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.16517,
    "h": 266.2
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#2D4EB3
secondary
#C7B375
accent
#BC45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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