#2D4F89#2D4F89

#2D4F89 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.104 H 260.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2D4F89
RGBrgb(45, 79, 137)
HSLhsl(218, 51%, 36%)
HSVhsv(218, 67%, 54%)
CMYKcmyk(67.2%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.89, 7.60, -36.05)
CIE-LCHlch(33.89, 36.84, 281.91°)
OKLaboklab(43.24% -0.0174 -0.1027)
OKLCHoklch(43.24% 0.104 260.4)
XYZxyz(8.3919, 7.9552, 24.7553)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F89 #89672D
analogous
#2D7D89 #2D4F89 #392D89
triadic
#2D4F89 #892D4F #4F892D
tetradic
#2D4F89 #892D7D #89672D #2D8939
square
#2D4F89 #892D7D #89672D #2D8939
split-complementary
#2D4F89 #89392D #7D892D
monochromatic
#0F1A2D #1E345B #2D4F89 #3C6AB7 #648BCC

Accessibility & contrast

On white

8.10
#2D4F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D4F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F89
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F89#FFFFFF#000000##FFFFFF
##2D4F891.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4f89;
/* rgb */ color: rgb(45, 79, 137);
/* oklch */ color: oklch(43.2% 0.104 260.4);
Tailwind
colors: {
  custom: {
    50: '#707fac',
    500: '#2d4f89',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f89;
$custom-light: #707fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f89",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 217.826,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.1042,
    "h": 260.4
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#2D4F89
secondary
#B3945F
accent
#A64EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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