#2D4F94#2D4F94

#2D4F94 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.120 H 262.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2D4F94
RGBrgb(45, 79, 148)
HSLhsl(220, 53%, 38%)
HSVhsv(220, 70%, 58%)
CMYKcmyk(69.6%, 46.6%, 0%, 42%)
CIE-LABlab(34.57, 11.76, -41.67)
CIE-LCHlch(34.57, 43.30, 285.76°)
OKLaboklab(43.99% -0.0152 -0.1192)
OKLCHoklch(43.99% 0.12 262.7)
XYZxyz(9.2216, 8.2870, 29.1248)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F94 #94722D
analogous
#2D8294 #2D4F94 #3E2D94
triadic
#2D4F94 #942D4F #4F942D
tetradic
#2D4F94 #942D82 #94722D #2D943E
square
#2D4F94 #942D82 #94722D #2D943E
split-complementary
#2D4F94 #943E2D #82942D
monochromatic
#101D36 #1F3665 #2D4F94 #3B68C3 #6A8CD2

Accessibility & contrast

On white

7.90
#2D4F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D4F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F94
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F94#FFFFFF#000000##FFFFFF
##2D4F941.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5697
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4f94;
/* rgb */ color: rgb(45, 79, 148);
/* oklch */ color: oklch(44.0% 0.120 262.7);
Tailwind
colors: {
  custom: {
    50: '#727fb4',
    500: '#2d4f94',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f94;
$custom-light: #727fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f94",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 220.194,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.12019,
    "h": 262.7
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#2D4F94
secondary
#B89D64
accent
#AD4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4F94

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

Preview Lab → · Contrast checker → · Palette generator →

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