#2F7ACA#2F7ACA

#2F7ACA is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.144 H 252.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F7ACA
RGBrgb(47, 122, 202)
HSLhsl(211, 62%, 49%)
HSVhsv(211, 77%, 79%)
CMYKcmyk(76.7%, 39.6%, 0%, 20.8%)
CIE-LABlab(50.44, 4.91, -48.05)
CIE-LCHlch(50.44, 48.30, 275.83°)
OKLaboklab(57.35% -0.0422 -0.1372)
OKLCHoklch(57.35% 0.144 252.9)
XYZxyz(18.7885, 18.7855, 58.5014)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7ACA #CA7F2F
analogous
#2FC8CA #2F7ACA #322FCA
triadic
#2F7ACA #CA2F7A #7ACA2F
tetradic
#2F7ACA #CA2FC8 #CA7F2F #2FCA32
square
#2F7ACA #CA2FC8 #CA7F2F #2FCA32
split-complementary
#2F7ACA #CA322F #C8CA2F
monochromatic
#183E67 #235C98 #2F7ACA #5D99D9 #8FB8E5

Accessibility & contrast

On white

4.41
#2F7ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2F7ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7ACA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7ACA#FFFFFF#000000##000000
##2F7ACA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#3B72C8
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7aca;
/* rgb */ color: rgb(47, 122, 202);
/* oklch */ color: oklch(57.3% 0.144 252.9);
Tailwind
colors: {
  custom: {
    50: '#7d9fda',
    500: '#2f7aca',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aca;
$custom-light: #7d9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aca",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 210.968,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.14354,
    "h": 252.9
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#2F7ACA
secondary
#CFAC86
accent
#9742E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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