#2E5F7D#2E5F7D

#2E5F7D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.5% C 0.072 H 237.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2E5F7D
RGBrgb(46, 95, 125)
HSLhsl(203, 46%, 34%)
HSVhsv(203, 63%, 49%)
CMYKcmyk(63.2%, 24%, 0%, 51%)
CIE-LABlab(38.28, -6.75, -21.80)
CIE-LCHlch(38.28, 22.82, 252.80°)
OKLaboklab(46.49% -0.0383 -0.0611)
OKLCHoklch(46.49% 0.072 237.9)
XYZxyz(8.9192, 10.2451, 20.9055)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F7D #7D4C2E
analogous
#2E7D73 #2E5F7D #2E377D
triadic
#2E5F7D #7D2E5F #5F7D2E
tetradic
#2E5F7D #732E7D #7D4C2E #377D2E
square
#2E5F7D #732E7D #7D4C2E #377D2E
split-complementary
#2E5F7D #7D2E37 #7D732E
monochromatic
#0D1B24 #1E3D50 #2E5F7D #3E81AA #619FC5

Accessibility & contrast

On white

6.89
#2E5F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E5F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F7D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F7D#FFFFFF#000000##FFFFFF
##2E5F7D1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7E
Deuteranopia (green-blind)
#46577C
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5f7d;
/* rgb */ color: rgb(46, 95, 125);
/* oklch */ color: oklch(46.5% 0.072 237.9);
Tailwind
colors: {
  custom: {
    50: '#6f8ca2',
    500: '#2e5f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f7d;
$custom-light: #6f8ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f7d",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 202.785,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.07208,
    "h": 237.9
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#2E5F7D
secondary
#AB7A5B
accent
#8452D6
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2E5F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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