#2D4EB0#2D4EB0

#2D4EB0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.161 H 266.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2D4EB0
RGBrgb(45, 78, 176)
HSLhsl(225, 59%, 43%)
HSVhsv(225, 74%, 69%)
CMYKcmyk(74.4%, 55.7%, 0%, 31%)
CIE-LABlab(36.25, 23.07, -55.75)
CIE-LCHlch(36.25, 60.33, 292.49°)
OKLaboklab(45.89% -0.0111 -0.1607)
OKLCHoklch(45.89% 0.161 266.1)
XYZxyz(11.6403, 9.1400, 42.2166)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EB0 #B08F2D
analogous
#2D8FB0 #2D4EB0 #4D2DB0
triadic
#2D4EB0 #B02D4E #4EB02D
tetradic
#2D4EB0 #B02D8F #B08F2D #2DB04D
square
#2D4EB0 #B02D8F #B08F2D #2DB04D
split-complementary
#2D4EB0 #B04D2D #8FB02D
monochromatic
#14234F #21387F #2D4EB0 #4A6CD1 #7A93DD

Accessibility & contrast

On white

7.43
#2D4EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D4EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EB0
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EB0#FFFFFF#000000##FFFFFF
##2D4EB01.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4eb0;
/* rgb */ color: rgb(45, 78, 176);
/* oklch */ color: oklch(45.9% 0.161 266.1);
Tailwind
colors: {
  custom: {
    50: '#797fc8',
    500: '#2d4eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2d4eb0;
$custom-light: #797fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4eb0",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 224.885,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45891,
    "c": 0.16105,
    "h": 266.1
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#2D4EB0
secondary
#C5B173
accent
#BB45E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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