#2D4FB1#2D4FB1

#2D4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.161 H 265.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2D4FB1
RGBrgb(45, 79, 177)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 75%, 69%)
CMYKcmyk(74.6%, 55.4%, 0%, 30.6%)
CIE-LABlab(36.60, 22.79, -55.78)
CIE-LCHlch(36.60, 60.25, 292.23°)
OKLaboklab(46.18% -0.0118 -0.1607)
OKLCHoklch(46.18% 0.161 265.8)
XYZxyz(11.8112, 9.3229, 42.7635)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FB1 #B18F2D
analogous
#2D91B1 #2D4FB1 #4D2DB1
triadic
#2D4FB1 #B12D4F #4FB12D
tetradic
#2D4FB1 #B12D91 #B18F2D #2DB14D
square
#2D4FB1 #B12D91 #B18F2D #2DB14D
split-complementary
#2D4FB1 #B14D2D #91B12D
monochromatic
#14234F #213980 #2D4FB1 #4A6DD1 #7B94DD

Accessibility & contrast

On white

7.33
#2D4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D4FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FB1
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FB1#FFFFFF#000000##FFFFFF
##2D4FB11.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4fb1;
/* rgb */ color: rgb(45, 79, 177);
/* oklch */ color: oklch(46.2% 0.161 265.8);
Tailwind
colors: {
  custom: {
    50: '#797fc9',
    500: '#2d4fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fb1;
$custom-light: #797fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fb1",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 224.545,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.16118,
    "h": 265.8
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#2D4FB1
secondary
#C6B174
accent
#BA45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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