#2C81CA#2C81CA

#2C81CA is a mid, vivid cyan. Relative luminance 0.205; OKLCH L 58.9% C 0.137 H 248.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2C81CA
RGBrgb(44, 129, 202)
HSLhsl(208, 64%, 48%)
HSVhsv(208, 78%, 79%)
CMYKcmyk(78.2%, 36.1%, 0%, 20.8%)
CIE-LABlab(52.40, 0.32, -44.94)
CIE-LCHlch(52.40, 44.94, 270.40°)
OKLaboklab(58.86% -0.0499 -0.128)
OKLCHoklch(58.86% 0.137 248.7)
XYZxyz(19.5456, 20.4979, 58.7920)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81CA #CA752C
analogous
#2CCAC4 #2C81CA #2C32CA
triadic
#2C81CA #CA2C81 #81CA2C
tetradic
#2C81CA #C42CCA #CA752C #32CA2C
square
#2C81CA #C42CCA #CA752C #32CA2C
split-complementary
#2C81CA #CA2C32 #CAC42C
monochromatic
#164165 #216198 #2C81CA #589FDB #8BBCE6

Accessibility & contrast

On white

4.12
#2C81CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2C81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81CA#FFFFFF#000000##000000
##2C81CA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c81ca;
/* rgb */ color: rgb(44, 129, 202);
/* oklch */ color: oklch(58.9% 0.137 248.7);
Tailwind
colors: {
  custom: {
    50: '#7ca5da',
    500: '#2c81ca',
    950: '#000000',
  },
}
SCSS
$custom: #2c81ca;
$custom-light: #7ca5da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81ca",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 207.722,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.13738,
    "h": 248.7
  },
  "luminance": 0.205
}

Semantic roles & 50–950 ramp

primary
#2C81CA
secondary
#D0A682
accent
#8E41E7
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2C81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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