#2D4B86#2D4B86

#2D4B86 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.105 H 262.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2D4B86
RGBrgb(45, 75, 134)
HSLhsl(220, 50%, 35%)
HSVhsv(220, 66%, 53%)
CMYKcmyk(66.4%, 44%, 0%, 47.5%)
CIE-LABlab(32.50, 9.14, -36.42)
CIE-LCHlch(32.50, 37.55, 284.08°)
OKLaboklab(42.11% -0.0137 -0.1039)
OKLCHoklch(42.11% 0.105 262.5)
XYZxyz(7.8998, 7.3105, 23.5444)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B86 #86682D
analogous
#2D7886 #2D4B86 #3B2D86
triadic
#2D4B86 #862D4B #4B862D
tetradic
#2D4B86 #862D78 #86682D #2D863B
square
#2D4B86 #862D78 #86682D #2D863B
split-complementary
#2D4B86 #863B2D #78862D
monochromatic
#0E182A #1E3158 #2D4B86 #3C65B4 #6386CB

Accessibility & contrast

On white

8.53
#2D4B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D4B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B86
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B86#FFFFFF#000000##FFFFFF
##2D4B861.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4b86;
/* rgb */ color: rgb(45, 75, 134);
/* oklch */ color: oklch(42.1% 0.105 262.5);
Tailwind
colors: {
  custom: {
    50: '#707ca9',
    500: '#2d4b86',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b86;
$custom-light: #707ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b86",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 134
  },
  "hsl": {
    "h": 219.775,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.10477,
    "h": 262.5
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#2D4B86
secondary
#B1955E
accent
#AA4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4B86

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

Preview Lab → · Contrast checker → · Palette generator →

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