#2D4FAC#2D4FAC

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

Color values

HEX#2D4FAC
RGBrgb(45, 79, 172)
HSLhsl(224, 59%, 43%)
HSVhsv(224, 74%, 67%)
CMYKcmyk(73.8%, 54.1%, 0%, 32.5%)
CIE-LABlab(36.23, 20.90, -53.41)
CIE-LCHlch(36.23, 57.36, 291.37°)
OKLaboklab(45.78% -0.0121 -0.1538)
OKLCHoklch(45.78% 0.154 265.5)
XYZxyz(11.3219, 9.1272, 40.1868)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FAC #AC8A2D
analogous
#2D8EAC #2D4FAC #4B2DAC
triadic
#2D4FAC #AC2D4F #4FAC2D
tetradic
#2D4FAC #AC2D8E #AC8A2D #2DAC4B
square
#2D4FAC #AC2D8E #AC8A2D #2DAC4B
split-complementary
#2D4FAC #AC4B2D #8EAC2D
monochromatic
#14224B #20397B #2D4FAC #476CCF #7893DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4FAC#FFFFFF#000000##FFFFFF
##2D4FAC1.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)
#065BAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4fac;
/* rgb */ color: rgb(45, 79, 172);
/* oklch */ color: oklch(45.8% 0.154 265.5);
Tailwind
colors: {
  custom: {
    50: '#787fc5',
    500: '#2d4fac',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fac;
$custom-light: #787fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fac",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 223.937,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.15427,
    "h": 265.5
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#2D4FAC
secondary
#C4AE71
accent
#B846E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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