#2D4F7C#2D4F7C

#2D4F7C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.085 H 256.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2D4F7C
RGBrgb(45, 79, 124)
HSLhsl(214, 47%, 33%)
HSVhsv(214, 64%, 49%)
CMYKcmyk(63.7%, 36.3%, 0%, 51.4%)
CIE-LABlab(33.15, 2.77, -29.21)
CIE-LCHlch(33.15, 29.35, 275.42°)
OKLaboklab(42.42% -0.0206 -0.0827)
OKLCHoklch(42.42% 0.085 256)
XYZxyz(7.5150, 7.6044, 20.1366)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F7C #7C5A2D
analogous
#2D767C #2D4F7C #322D7C
triadic
#2D4F7C #7C2D4F #4F7C2D
tetradic
#2D4F7C #7C2D76 #7C5A2D #2D7C32
square
#2D4F7C #7C2D76 #7C5A2D #2D7C32
split-complementary
#2D4F7C #7C322D #767C2D
monochromatic
#0C1622 #1D324F #2D4F7C #3D6CA9 #5F8BC5

Accessibility & contrast

On white

8.33
#2D4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D4F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F7C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F7C#FFFFFF#000000##FFFFFF
##2D4F7C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#314B7B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4f7c;
/* rgb */ color: rgb(45, 79, 124);
/* oklch */ color: oklch(42.4% 0.085 256.0);
Tailwind
colors: {
  custom: {
    50: '#6e80a2',
    500: '#2d4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f7c;
$custom-light: #6e80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f7c",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 214.177,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.08527,
    "h": 256
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#2D4F7C
secondary
#AB885A
accent
#9D51D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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