#2D4F7D#2D4F7D

#2D4F7D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.087 H 256.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2D4F7D
RGBrgb(45, 79, 125)
HSLhsl(215, 47%, 33%)
HSVhsv(215, 64%, 49%)
CMYKcmyk(64%, 36.8%, 0%, 51%)
CIE-LABlab(33.20, 3.14, -29.75)
CIE-LCHlch(33.20, 29.91, 276.02°)
OKLaboklab(42.48% -0.0204 -0.0843)
OKLCHoklch(42.48% 0.087 256.4)
XYZxyz(7.5785, 7.6298, 20.4714)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F7D #7D5B2D
analogous
#2D777D #2D4F7D #332D7D
triadic
#2D4F7D #7D2D4F #4F7D2D
tetradic
#2D4F7D #7D2D77 #7D5B2D #2D7D33
square
#2D4F7D #7D2D77 #7D5B2D #2D7D33
split-complementary
#2D4F7D #7D332D #777D2D
monochromatic
#0D1623 #1D3350 #2D4F7D #3D6BAA #5F8BC5

Accessibility & contrast

On white

8.31
#2D4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D4F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F7D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F7D#FFFFFF#000000##FFFFFF
##2D4F7D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4f7d;
/* rgb */ color: rgb(45, 79, 125);
/* oklch */ color: oklch(42.5% 0.087 256.4);
Tailwind
colors: {
  custom: {
    50: '#6e80a3',
    500: '#2d4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f7d;
$custom-light: #6e80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f7d",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 214.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.08671,
    "h": 256.4
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#2D4F7D
secondary
#AC895A
accent
#9E51D7
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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