#2E7FAB#2E7FAB

#2E7FAB is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.103 H 236.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2E7FAB
RGBrgb(46, 127, 171)
HSLhsl(201, 58%, 43%)
HSVhsv(201, 73%, 67%)
CMYKcmyk(73.1%, 25.7%, 0%, 32.9%)
CIE-LABlab(50.33, -9.47, -30.39)
CIE-LCHlch(50.33, 31.83, 252.69°)
OKLaboklab(56.75% -0.0564 -0.0856)
OKLCHoklch(56.75% 0.103 236.6)
XYZxyz(16.0639, 18.6980, 41.2826)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FAB #AB5A2E
analogous
#2EAB99 #2E7FAB #2E40AB
triadic
#2E7FAB #AB2E7F #7FAB2E
tetradic
#2E7FAB #992EAB #AB5A2E #40AB2E
square
#2E7FAB #992EAB #AB5A2E #40AB2E
split-complementary
#2E7FAB #AB2E40 #AB992E
monochromatic
#14374B #215B7B #2E7FAB #489FCE #79B8DB

Accessibility & contrast

On white

4.43
#2E7FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2E7FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FAB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FAB#FFFFFF#000000##000000
##2E7FAB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAD
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7fab;
/* rgb */ color: rgb(46, 127, 171);
/* oklch */ color: oklch(56.7% 0.103 236.6);
Tailwind
colors: {
  custom: {
    50: '#77a4c4',
    500: '#2e7fab',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fab;
$custom-light: #77a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fab",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 201.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.10256,
    "h": 236.6
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#2E7FAB
secondary
#C38E72
accent
#7D47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2E7FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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