#2E6BB7#2E6BB7

#2E6BB7 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.135 H 255.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2E6BB7
RGBrgb(46, 107, 183)
HSLhsl(213, 60%, 45%)
HSVhsv(213, 75%, 72%)
CMYKcmyk(74.9%, 41.5%, 0%, 28.2%)
CIE-LABlab(44.96, 7.01, -45.84)
CIE-LCHlch(44.96, 46.37, 278.70°)
OKLaboklab(52.72% -0.0338 -0.131)
OKLCHoklch(52.72% 0.135 255.5)
XYZxyz(14.9285, 14.5134, 46.8052)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BB7 #B77A2E
analogous
#2EAFB7 #2E6BB7 #362EB7
triadic
#2E6BB7 #B72E6B #6BB72E
tetradic
#2E6BB7 #B72EAF #B77A2E #2EB736
square
#2E6BB7 #B72EAF #B77A2E #2EB736
split-complementary
#2E6BB7 #B7362E #AFB72E
monochromatic
#153255 #224E86 #2E6BB7 #4F8AD3 #80ABDF

Accessibility & contrast

On white

5.38
#2E6BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2E6BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BB7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BB7#FFFFFF#000000##FFFFFF
##2E6BB71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#2F65B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e6bb7;
/* rgb */ color: rgb(46, 107, 183);
/* oklch */ color: oklch(52.7% 0.135 255.5);
Tailwind
colors: {
  custom: {
    50: '#7994cd',
    500: '#2e6bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e6bb7;
$custom-light: #7994cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6bb7",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 213.285,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.13528,
    "h": 255.5
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#2E6BB7
secondary
#C8A579
accent
#9D45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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