#2D4D7B#2D4D7B

#2D4D7B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.086 H 257.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2D4D7B
RGBrgb(45, 77, 123)
HSLhsl(215, 46%, 33%)
HSVhsv(215, 63%, 48%)
CMYKcmyk(63.4%, 37.4%, 0%, 51.8%)
CIE-LABlab(32.47, 3.71, -29.66)
CIE-LCHlch(32.47, 29.89, 277.13°)
OKLaboklab(41.88% -0.0186 -0.084)
OKLCHoklch(41.88% 0.086 257.5)
XYZxyz(7.3099, 7.2950, 19.7579)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D7B #7B5B2D
analogous
#2D747B #2D4D7B #342D7B
triadic
#2D4D7B #7B2D4D #4D7B2D
tetradic
#2D4D7B #7B2D74 #7B5B2D #2D7B34
square
#2D4D7B #7B2D74 #7B5B2D #2D7B34
split-complementary
#2D4D7B #7B342D #747B2D
monochromatic
#0C1521 #1D314E #2D4D7B #3D69A8 #5E88C4

Accessibility & contrast

On white

8.54
#2D4D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4D7B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D7B#FFFFFF#000000##FFFFFF
##2D4D7B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4d7b;
/* rgb */ color: rgb(45, 77, 123);
/* oklch */ color: oklch(41.9% 0.086 257.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ea1',
    500: '#2d4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d7b;
$custom-light: #6e7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d7b",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 215.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.08608,
    "h": 257.5
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#2D4D7B
secondary
#AB8959
accent
#A052D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2D4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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