#2E81CF#2E81CF

#2E81CF is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.2% C 0.143 H 250.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2E81CF
RGBrgb(46, 129, 207)
HSLhsl(209, 64%, 50%)
HSVhsv(209, 78%, 81%)
CMYKcmyk(77.8%, 37.7%, 0%, 18.8%)
CIE-LABlab(52.71, 2.38, -47.27)
CIE-LCHlch(52.71, 47.33, 272.89°)
OKLaboklab(59.21% -0.0476 -0.1348)
OKLCHoklch(59.21% 0.143 250.6)
XYZxyz(20.2352, 20.7839, 61.9646)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E81CF #CF7C2E
analogous
#2ECFCC #2E81CF #2E31CF
triadic
#2E81CF #CF2E81 #81CF2E
tetradic
#2E81CF #CC2ECF #CF7C2E #31CF2E
square
#2E81CF #CC2ECF #CF7C2E #31CF2E
split-complementary
#2E81CF #CF2E31 #CFCC2E
monochromatic
#18436B #23629D #2E81CF #5F9FDB #91BDE7

Accessibility & contrast

On white

4.07
#2E81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2E81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E81CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E81CF#FFFFFF#000000##000000
##2E81CF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e81cf;
/* rgb */ color: rgb(46, 129, 207);
/* oklch */ color: oklch(59.2% 0.143 250.6);
Tailwind
colors: {
  custom: {
    50: '#7ea5de',
    500: '#2e81cf',
    950: '#000000',
  },
}
SCSS
$custom: #2e81cf;
$custom-light: #7ea5de;
$custom-dark: #000000;
JSON
{
  "hex": "#2e81cf",
  "rgb": {
    "r": 46,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 209.068,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.14296,
    "h": 250.6
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#2E81CF
secondary
#D1AB88
accent
#9141E7
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2E81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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