#2E6FB7#2E6FB7

#2E6FB7 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.131 H 253.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E6FB7
RGBrgb(46, 111, 183)
HSLhsl(212, 60%, 45%)
HSVhsv(212, 75%, 72%)
CMYKcmyk(74.9%, 39.3%, 0%, 28.2%)
CIE-LABlab(46.13, 4.50, -43.97)
CIE-LCHlch(46.13, 44.20, 275.85°)
OKLaboklab(53.64% -0.0374 -0.1254)
OKLCHoklch(53.64% 0.131 253.4)
XYZxyz(15.3552, 15.3669, 46.9474)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6FB7 #B7762E
analogous
#2EB3B7 #2E6FB7 #322EB7
triadic
#2E6FB7 #B72E6F #6FB72E
tetradic
#2E6FB7 #B72EB3 #B7762E #2EB732
square
#2E6FB7 #B72EB3 #B7762E #2EB732
split-complementary
#2E6FB7 #B7322E #B3B72E
monochromatic
#153455 #225186 #2E6FB7 #4F8ED3 #80ADDF

Accessibility & contrast

On white

5.15
#2E6FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E6FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6FB7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6FB7#FFFFFF#000000##FFFFFF
##2E6FB71.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#3867B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e6fb7;
/* rgb */ color: rgb(46, 111, 183);
/* oklch */ color: oklch(53.6% 0.131 253.4);
Tailwind
colors: {
  custom: {
    50: '#7997cd',
    500: '#2e6fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e6fb7;
$custom-light: #7997cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6fb7",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 211.533,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.13091,
    "h": 253.4
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#2E6FB7
secondary
#C8A279
accent
#9845E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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