#2D4FA0#2D4FA0

#2D4FA0 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.137 H 264.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2D4FA0
RGBrgb(45, 79, 160)
HSLhsl(222, 56%, 40%)
HSVhsv(222, 72%, 63%)
CMYKcmyk(71.9%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.37, 16.33, -47.63)
CIE-LCHlch(35.37, 50.35, 288.92°)
OKLaboklab(44.86% -0.0134 -0.1368)
OKLCHoklch(44.86% 0.137 264.4)
XYZxyz(10.2211, 8.6869, 34.3890)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FA0 #A07E2D
analogous
#2D88A0 #2D4FA0 #442DA0
triadic
#2D4FA0 #A02D4F #4FA02D
tetradic
#2D4FA0 #A02D88 #A07E2D #2DA044
square
#2D4FA0 #A02D88 #A07E2D #2DA044
split-complementary
#2D4FA0 #A0442D #88A02D
monochromatic
#122040 #203770 #2D4FA0 #4169C9 #708FD7

Accessibility & contrast

On white

7.67
#2D4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D4FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FA0
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FA0#FFFFFF#000000##FFFFFF
##2D4FA01.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d4fa0;
/* rgb */ color: rgb(45, 79, 160);
/* oklch */ color: oklch(44.9% 0.137 264.4);
Tailwind
colors: {
  custom: {
    50: '#757fbd',
    500: '#2d4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fa0;
$custom-light: #757fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fa0",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 222.261,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44859,
    "c": 0.13741,
    "h": 264.4
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#2D4FA0
secondary
#BEA66B
accent
#B348DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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