#2E5F8F#2E5F8F

#2E5F8F is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.094 H 250.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2E5F8F
RGBrgb(46, 95, 143)
HSLhsl(210, 51%, 37%)
HSVhsv(210, 68%, 56%)
CMYKcmyk(67.8%, 33.6%, 0%, 43.9%)
CIE-LABlab(39.15, -0.31, -31.36)
CIE-LCHlch(39.15, 31.36, 269.43°)
OKLaboklab(47.47% -0.0322 -0.0888)
OKLCHoklch(47.47% 0.094 250)
XYZxyz(10.1750, 10.7474, 27.5195)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F8F #8F5E2E
analogous
#2E8F8F #2E5F8F #2E2E8F
triadic
#2E5F8F #8F2E5F #5F8F2E
tetradic
#2E5F8F #8F2E8F #8F5E2E #2E8F2E
square
#2E5F8F #8F2E8F #8F5E2E #2E8F2E
split-complementary
#2E5F8F #8F2E2E #8F8F2E
monochromatic
#102132 #1F4061 #2E5F8F #3D7EBD #699CCF

Accessibility & contrast

On white

6.67
#2E5F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E5F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F8F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F8F#FFFFFF#000000##FFFFFF
##2E5F8F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e5f8f;
/* rgb */ color: rgb(46, 95, 143);
/* oklch */ color: oklch(47.5% 0.094 250.0);
Tailwind
colors: {
  custom: {
    50: '#728cb0',
    500: '#2e5f8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f8f;
$custom-light: #728cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f8f",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 143
  },
  "hsl": {
    "h": 209.691,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.09446,
    "h": 250
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#2E5F8F
secondary
#B68C63
accent
#934DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2E5F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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