#2D4B87#2D4B87

#2D4B87 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.106 H 262.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4B87
RGBrgb(45, 75, 135)
HSLhsl(220, 50%, 35%)
HSVhsv(220, 67%, 53%)
CMYKcmyk(66.7%, 44.4%, 0%, 47.1%)
CIE-LABlab(32.57, 9.51, -36.93)
CIE-LCHlch(32.57, 38.14, 284.44°)
OKLaboklab(42.18% -0.0135 -0.1054)
OKLCHoklch(42.18% 0.106 262.7)
XYZxyz(7.9699, 7.3386, 23.9134)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B87 #87692D
analogous
#2D7887 #2D4B87 #3C2D87
triadic
#2D4B87 #872D4B #4B872D
tetradic
#2D4B87 #872D78 #87692D #2D873C
square
#2D4B87 #872D78 #87692D #2D873C
split-complementary
#2D4B87 #873C2D #78872D
monochromatic
#0E182B #1E3159 #2D4B87 #3C64B5 #6386CB

Accessibility & contrast

On white

8.51
#2D4B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D4B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B87
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B87#FFFFFF#000000##FFFFFF
##2D4B871.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4b87;
/* rgb */ color: rgb(45, 75, 135);
/* oklch */ color: oklch(42.2% 0.106 262.7);
Tailwind
colors: {
  custom: {
    50: '#707caa',
    500: '#2d4b87',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b87;
$custom-light: #707caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b87",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 220,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.10625,
    "h": 262.7
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#2D4B87
secondary
#B2965E
accent
#AB4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4B87

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

Preview Lab → · Contrast checker → · Palette generator →

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