#2E5271#2E5271

#2E5271 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.067 H 246.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2E5271
RGBrgb(46, 82, 113)
HSLhsl(208, 42%, 31%)
HSVhsv(208, 59%, 44%)
CMYKcmyk(59.3%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.58, -2.89, -21.69)
CIE-LCHlch(33.58, 21.88, 262.41°)
OKLaboklab(42.59% -0.0269 -0.0608)
OKLCHoklch(42.59% 0.067 246.2)
XYZxyz(7.1236, 7.8071, 16.7511)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5271 #714D2E
analogous
#2E716E #2E5271 #2E3071
triadic
#2E5271 #712E52 #52712E
tetradic
#2E5271 #6E2E71 #714D2E #30712E
square
#2E5271 #6E2E71 #714D2E #30712E
split-complementary
#2E5271 #712E30 #716E2E
monochromatic
#0B131A #1C3246 #2E5271 #40729C #5D90BD

Accessibility & contrast

On white

8.20
#2E5271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E5271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5271
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5271#FFFFFF#000000##FFFFFF
##2E52711.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455372
Deuteranopia (green-blind)
#3C4C70
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5271;
/* rgb */ color: rgb(46, 82, 113);
/* oklch */ color: oklch(42.6% 0.067 246.2);
Tailwind
colors: {
  custom: {
    50: '#6d829a',
    500: '#2e5271',
    950: '#000000',
  },
}
SCSS
$custom: #2e5271;
$custom-light: #6d829a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5271",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 207.761,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.06651,
    "h": 246.2
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#2E5271
secondary
#A27B58
accent
#8F56D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E5271

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

Preview Lab → · Contrast checker → · Palette generator →

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