#2D4FBC#2D4FBC

#2D4FBC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.176 H 266.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2D4FBC
RGBrgb(45, 79, 188)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 74%)
CMYKcmyk(76.1%, 58%, 0%, 26.3%)
CIE-LABlab(37.44, 26.94, -60.88)
CIE-LCHlch(37.44, 66.58, 293.87°)
OKLaboklab(47.08% -0.0112 -0.1757)
OKLCHoklch(47.08% 0.176 266.4)
XYZxyz(12.9521, 9.7793, 48.7722)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FBC #BC9A2D
analogous
#2D96BC #2D4FBC #522DBC
triadic
#2D4FBC #BC2D4F #4FBC2D
tetradic
#2D4FBC #BC2D96 #BC9A2D #2DBC52
square
#2D4FBC #BC2D96 #BC9A2D #2DBC52
split-complementary
#2D4FBC #BC522D #96BC2D
monochromatic
#152559 #213A8B #2D4FBC #5170D5 #8299E1

Accessibility & contrast

On white

7.10
#2D4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D4FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FBC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FBC#FFFFFF#000000##FFFFFF
##2D4FBC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d4fbc;
/* rgb */ color: rgb(45, 79, 188);
/* oklch */ color: oklch(47.1% 0.176 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b7fd1',
    500: '#2d4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fbc;
$custom-light: #7b7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fbc",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 225.734,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.17611,
    "h": 266.4
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#2D4FBC
secondary
#CAB77B
accent
#BE43E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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