#2D4E5C#2D4E5C

#2D4E5C is a dark, muted cyan. Relative luminance 0.068; OKLCH L 40.5% C 0.045 H 227.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D4E5C
RGBrgb(45, 78, 92)
HSLhsl(198, 34%, 27%)
HSVhsv(198, 51%, 36%)
CMYKcmyk(51.1%, 15.2%, 0%, 63.9%)
CIE-LABlab(31.30, -7.73, -11.96)
CIE-LCHlch(31.30, 14.24, 237.13°)
OKLaboklab(40.46% -0.0308 -0.0331)
OKLCHoklch(40.46% 0.045 227.1)
XYZxyz(5.7376, 6.7789, 11.1293)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E5C #5C3B2D
analogous
#2D5C53 #2D4E5C #2D375C
triadic
#2D4E5C #5C2D4E #4E5C2D
tetradic
#2D4E5C #532D5C #5C3B2D #375C2D
square
#2D4E5C #532D5C #5C3B2D #375C2D
split-complementary
#2D4E5C #5C2D37 #5C532D
monochromatic
#0A1115 #192B33 #2D4E5C #417185 #5793AD

Accessibility & contrast

On white

8.91
#2D4E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D4E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E5C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E5C#FFFFFF#000000##FFFFFF
##2D4E5C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#40475C
Tritanopia (blue-blind)
#165252
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4e5c;
/* rgb */ color: rgb(45, 78, 92);
/* oklch */ color: oklch(40.5% 0.045 227.1);
Tailwind
colors: {
  custom: {
    50: '#697f8a',
    500: '#2d4e5c',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e5c;
$custom-light: #697f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e5c",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 92
  },
  "hsl": {
    "h": 197.872,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.04522,
    "h": 227.1
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#2D4E5C
secondary
#8E6757
accent
#7E5DCA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0B
muted
#7A7C7C

Preview Lab

Preview with #2D4E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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