#2E4F7C#2E4F7C

#2E4F7C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.085 H 256.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2E4F7C
RGBrgb(46, 79, 124)
HSLhsl(215, 46%, 33%)
HSVhsv(215, 63%, 49%)
CMYKcmyk(62.9%, 36.3%, 0%, 51.4%)
CIE-LABlab(33.19, 2.98, -29.13)
CIE-LCHlch(33.19, 29.29, 275.84°)
OKLaboklab(42.47% -0.0197 -0.0825)
OKLCHoklch(42.47% 0.085 256.5)
XYZxyz(7.5595, 7.6274, 20.1387)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F7C #7C5B2E
analogous
#2E767C #2E4F7C #342E7C
triadic
#2E4F7C #7C2E4F #4F7C2E
tetradic
#2E4F7C #7C2E76 #7C5B2E #2E7C34
square
#2E4F7C #7C2E76 #7C5B2E #2E7C34
split-complementary
#2E4F7C #7C342E #767C2E
monochromatic
#0D1623 #1D334F #2E4F7C #3F6BA9 #608BC4

Accessibility & contrast

On white

8.31
#2E4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4F7C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F7C#FFFFFF#000000##FFFFFF
##2E4F7C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4f7c;
/* rgb */ color: rgb(46, 79, 124);
/* oklch */ color: oklch(42.5% 0.085 256.5);
Tailwind
colors: {
  custom: {
    50: '#6e80a2',
    500: '#2e4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f7c;
$custom-light: #6e80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f7c",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 214.615,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.0848,
    "h": 256.5
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#2E4F7C
secondary
#AB895B
accent
#9E52D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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