#2D4FBE#2D4FBE

#2D4FBE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.179 H 266.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2D4FBE
RGBrgb(45, 79, 190)
HSLhsl(226, 62%, 46%)
HSVhsv(226, 76%, 75%)
CMYKcmyk(76.3%, 58.4%, 0%, 25.5%)
CIE-LABlab(37.60, 27.69, -61.80)
CIE-LCHlch(37.60, 67.72, 294.14°)
OKLaboklab(47.24% -0.0111 -0.1784)
OKLCHoklch(47.24% 0.179 266.4)
XYZxyz(13.1692, 9.8661, 49.9155)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FBE #BE9C2D
analogous
#2D97BE #2D4FBE #532DBE
triadic
#2D4FBE #BE2D4F #4FBE2D
tetradic
#2D4FBE #BE2D97 #BE9C2D #2DBE53
square
#2D4FBE #BE2D97 #BE9C2D #2DBE53
split-complementary
#2D4FBE #BE532D #97BE2D
monochromatic
#16265B #213A8D #2D4FBE #5271D6 #849AE2

Accessibility & contrast

On white

7.06
#2D4FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2D4FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FBE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FBE#FFFFFF#000000##FFFFFF
##2D4FBE1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d4fbe;
/* rgb */ color: rgb(45, 79, 190);
/* oklch */ color: oklch(47.2% 0.179 266.4);
Tailwind
colors: {
  custom: {
    50: '#7c7fd2',
    500: '#2d4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fbe;
$custom-light: #7c7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fbe",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 225.931,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47243,
    "c": 0.17879,
    "h": 266.4
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#2D4FBE
secondary
#CBB87C
accent
#BF43E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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