#2F7FCA#2F7FCA

#2F7FCA is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.138 H 250.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7FCA
RGBrgb(47, 127, 202)
HSLhsl(209, 62%, 49%)
HSVhsv(209, 77%, 79%)
CMYKcmyk(76.7%, 37.1%, 0%, 20.8%)
CIE-LABlab(51.89, 1.86, -45.74)
CIE-LCHlch(51.89, 45.78, 272.33°)
OKLaboklab(58.48% -0.0466 -0.1303)
OKLCHoklch(58.48% 0.138 250.3)
XYZxyz(19.4183, 20.0451, 58.7113)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FCA #CA7A2F
analogous
#2FCAC8 #2F7FCA #2F32CA
triadic
#2F7FCA #CA2F7F #7FCA2F
tetradic
#2F7FCA #C82FCA #CA7A2F #32CA2F
square
#2F7FCA #C82FCA #CA7A2F #32CA2F
split-complementary
#2F7FCA #CA2F32 #CAC82F
monochromatic
#184167 #236098 #2F7FCA #5D9DD9 #8FBBE5

Accessibility & contrast

On white

4.19
#2F7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FCA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FCA#FFFFFF#000000##000000
##2F7FCA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f7fca;
/* rgb */ color: rgb(47, 127, 202);
/* oklch */ color: oklch(58.5% 0.138 250.3);
Tailwind
colors: {
  custom: {
    50: '#7da3da',
    500: '#2f7fca',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fca;
$custom-light: #7da3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fca",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 209.032,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.13842,
    "h": 250.3
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#2F7FCA
secondary
#CFA986
accent
#9142E5
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2F7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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