#2E4F7D#2E4F7D

#2E4F7D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.086 H 257.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2E4F7D
RGBrgb(46, 79, 125)
HSLhsl(215, 46%, 34%)
HSVhsv(215, 63%, 49%)
CMYKcmyk(63.2%, 36.8%, 0%, 51%)
CIE-LABlab(33.25, 3.35, -29.67)
CIE-LCHlch(33.25, 29.86, 276.43°)
OKLaboklab(42.53% -0.0195 -0.084)
OKLCHoklch(42.53% 0.086 257)
XYZxyz(7.6231, 7.6528, 20.4735)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F7D #7D5C2E
analogous
#2E767D #2E4F7D #342E7D
triadic
#2E4F7D #7D2E4F #4F7D2E
tetradic
#2E4F7D #7D2E76 #7D5C2E #2E7D34
square
#2E4F7D #7D2E76 #7D5C2E #2E7D34
split-complementary
#2E4F7D #7D342E #767D2E
monochromatic
#0D1624 #1E3350 #2E4F7D #3E6BAA #618AC5

Accessibility & contrast

On white

8.30
#2E4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4F7D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F7D#FFFFFF#000000##FFFFFF
##2E4F7D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.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: #2e4f7d;
/* rgb */ color: rgb(46, 79, 125);
/* oklch */ color: oklch(42.5% 0.086 257.0);
Tailwind
colors: {
  custom: {
    50: '#6e80a3',
    500: '#2e4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f7d;
$custom-light: #6e80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f7d",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 214.937,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.08625,
    "h": 257
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#2E4F7D
secondary
#AB8A5B
accent
#9F52D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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