#2E4E7A#2E4E7A

#2E4E7A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.083 H 256.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2E4E7A
RGBrgb(46, 78, 122)
HSLhsl(215, 45%, 33%)
HSVhsv(215, 62%, 48%)
CMYKcmyk(62.3%, 36.1%, 0%, 52.2%)
CIE-LABlab(32.78, 2.90, -28.55)
CIE-LCHlch(32.78, 28.70, 275.81°)
OKLaboklab(42.11% -0.0191 -0.0808)
OKLCHoklch(42.11% 0.083 256.7)
XYZxyz(7.3627, 7.4341, 19.4555)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E7A #7A5A2E
analogous
#2E747A #2E4E7A #342E7A
triadic
#2E4E7A #7A2E4E #4E7A2E
tetradic
#2E4E7A #7A2E74 #7A5A2E #2E7A34
square
#2E4E7A #7A2E74 #7A5A2E #2E7A34
split-complementary
#2E4E7A #7A342E #747A2E
monochromatic
#0C1521 #1D324E #2E4E7A #3F6AA6 #6089C3

Accessibility & contrast

On white

8.44
#2E4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E7A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E7A#FFFFFF#000000##FFFFFF
##2E4E7A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#314A79
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e7a;
/* rgb */ color: rgb(46, 78, 122);
/* oklch */ color: oklch(42.1% 0.083 256.7);
Tailwind
colors: {
  custom: {
    50: '#6e7fa0',
    500: '#2e4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e7a;
$custom-light: #6e7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e7a",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 214.737,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.08302,
    "h": 256.7
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#2E4E7A
secondary
#AA885A
accent
#9E53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #2E4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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