#2E4D6F#2E4D6F

#2E4D6F is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.068 H 251.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2E4D6F
RGBrgb(46, 77, 111)
HSLhsl(211, 41%, 31%)
HSVhsv(211, 59%, 44%)
CMYKcmyk(58.6%, 30.6%, 0%, 56.5%)
CIE-LABlab(31.89, -0.40, -23.07)
CIE-LCHlch(31.89, 23.07, 269.02°)
OKLaboklab(41.23% -0.0213 -0.0649)
OKLCHoklch(41.23% 0.068 251.8)
XYZxyz(6.6488, 7.0357, 16.0435)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D6F #6F502E
analogous
#2E6D6F #2E4D6F #302E6F
triadic
#2E4D6F #6F2E4D #4D6F2E
tetradic
#2E4D6F #6F2E6D #6F502E #2E6F30
square
#2E4D6F #6F2E6D #6F502E #2E6F30
split-complementary
#2E4D6F #6F302E #6D6F2E
monochromatic
#0A1118 #1C2F44 #2E4D6F #406B9A #5C89BB

Accessibility & contrast

On white

8.72
#2E4D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E4D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D6F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D6F#FFFFFF#000000##FFFFFF
##2E4D6F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F70
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#015559
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4d6f;
/* rgb */ color: rgb(46, 77, 111);
/* oklch */ color: oklch(41.2% 0.068 251.8);
Tailwind
colors: {
  custom: {
    50: '#6c7e98',
    500: '#2e4d6f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d6f;
$custom-light: #6c7e98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d6f",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 111
  },
  "hsl": {
    "h": 211.385,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.06826,
    "h": 251.8
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#2E4D6F
secondary
#A07E58
accent
#9757D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2E4D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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