#2D4E76#2D4E76

#2D4E76 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.078 H 254.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2D4E76
RGBrgb(45, 78, 118)
HSLhsl(213, 45%, 32%)
HSVhsv(213, 62%, 46%)
CMYKcmyk(61.9%, 33.9%, 0%, 53.7%)
CIE-LABlab(32.51, 1.23, -26.48)
CIE-LCHlch(32.51, 26.51, 272.67°)
OKLaboklab(41.82% -0.0212 -0.0748)
OKLCHoklch(41.82% 0.078 254.2)
XYZxyz(7.0754, 7.3140, 18.1749)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E76 #76552D
analogous
#2D7376 #2D4E76 #312D76
triadic
#2D4E76 #762D4E #4E762D
tetradic
#2D4E76 #762D73 #76552D #2D7631
square
#2D4E76 #762D73 #76552D #2D7631
split-complementary
#2D4E76 #76312D #73762D
monochromatic
#0B131D #1C314A #2D4E76 #3E6BA2 #5C8AC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4E76#FFFFFF#000000##FFFFFF
##2D4E761.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)
#3D5078
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4e76;
/* rgb */ color: rgb(45, 78, 118);
/* oklch */ color: oklch(41.8% 0.078 254.2);
Tailwind
colors: {
  custom: {
    50: '#6d7f9d',
    500: '#2d4e76',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e76;
$custom-light: #6d7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e76",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 212.877,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41819,
    "c": 0.07772,
    "h": 254.2
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#2D4E76
secondary
#A78357
accent
#9A53D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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