#2F81CA#2F81CA

#2F81CA is a mid, vivid cyan. Relative luminance 0.206; OKLCH L 58.9% C 0.136 H 249.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F81CA
RGBrgb(47, 129, 202)
HSLhsl(208, 62%, 49%)
HSVhsv(208, 77%, 79%)
CMYKcmyk(76.7%, 36.1%, 0%, 20.8%)
CIE-LABlab(52.47, 0.66, -44.81)
CIE-LCHlch(52.47, 44.82, 270.84°)
OKLaboklab(58.94% -0.0484 -0.1276)
OKLCHoklch(58.94% 0.136 249.2)
XYZxyz(19.6792, 20.5668, 58.7983)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F81CA #CA782F
analogous
#2FCAC6 #2F81CA #2F34CA
triadic
#2F81CA #CA2F81 #81CA2F
tetradic
#2F81CA #C62FCA #CA782F #34CA2F
square
#2F81CA #C62FCA #CA782F #34CA2F
split-complementary
#2F81CA #CA2F34 #CAC62F
monochromatic
#184267 #236198 #2F81CA #5D9FD9 #8FBCE5

Accessibility & contrast

On white

4.11
#2F81CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2F81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F81CA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F81CA#FFFFFF#000000##000000
##2F81CA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f81ca;
/* rgb */ color: rgb(47, 129, 202);
/* oklch */ color: oklch(58.9% 0.136 249.2);
Tailwind
colors: {
  custom: {
    50: '#7da5da',
    500: '#2f81ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f81ca;
$custom-light: #7da5da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f81ca",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 208.258,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.13646,
    "h": 249.2
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#2F81CA
secondary
#CFA886
accent
#8F42E5
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2F81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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