#2E4F7A#2E4F7A

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

Color values

HEX#2E4F7A
RGBrgb(46, 79, 122)
HSLhsl(214, 45%, 33%)
HSVhsv(214, 62%, 48%)
CMYKcmyk(62.3%, 35.2%, 0%, 52.2%)
CIE-LABlab(33.09, 2.25, -28.06)
CIE-LCHlch(33.09, 28.15, 274.59°)
OKLaboklab(42.35% -0.0203 -0.0793)
OKLCHoklch(42.35% 0.082 255.6)
XYZxyz(7.4343, 7.5773, 19.4794)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F7A #7A592E
analogous
#2E757A #2E4F7A #332E7A
triadic
#2E4F7A #7A2E4F #4F7A2E
tetradic
#2E4F7A #7A2E75 #7A592E #2E7A33
square
#2E4F7A #7A2E75 #7A592E #2E7A33
split-complementary
#2E4F7A #7A332E #757A2E
monochromatic
#0C1521 #1D324E #2E4F7A #3F6CA6 #608BC3

Accessibility & contrast

On white

8.35
#2E4F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4F7A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F7A#FFFFFF#000000##FFFFFF
##2E4F7A1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4f7a;
/* rgb */ color: rgb(46, 79, 122);
/* oklch */ color: oklch(42.4% 0.082 255.6);
Tailwind
colors: {
  custom: {
    50: '#6e80a0',
    500: '#2e4f7a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f7a;
$custom-light: #6e80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f7a",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 213.947,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.08191,
    "h": 255.6
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#2E4F7A
secondary
#AA875A
accent
#9C53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #2E4F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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