#2F7FCE#2F7FCE

#2F7FCE is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.143 H 251.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F7FCE
RGBrgb(47, 127, 206)
HSLhsl(210, 63%, 50%)
HSVhsv(210, 77%, 81%)
CMYKcmyk(77.2%, 38.3%, 0%, 19.2%)
CIE-LABlab(52.10, 3.34, -47.67)
CIE-LCHlch(52.10, 47.78, 274.00°)
OKLaboklab(58.72% -0.0456 -0.136)
OKLCHoklch(58.72% 0.143 251.5)
XYZxyz(19.8980, 20.2370, 61.2380)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FCE #CE7E2F
analogous
#2FCECD #2F7FCE #2F30CE
triadic
#2F7FCE #CE2F7F #7FCE2F
tetradic
#2F7FCE #CD2FCE #CE7E2F #30CE2F
square
#2F7FCE #CD2FCE #CE7E2F #30CE2F
split-complementary
#2F7FCE #CE2F30 #CECD2F
monochromatic
#18426A #24609C #2F7FCE #609DDB #91BCE6

Accessibility & contrast

On white

4.16
#2F7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2F7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FCE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FCE#FFFFFF#000000##000000
##2F7FCE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D1
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f7fce;
/* rgb */ color: rgb(47, 127, 206);
/* oklch */ color: oklch(58.7% 0.143 251.5);
Tailwind
colors: {
  custom: {
    50: '#7ea3dd',
    500: '#2f7fce',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fce;
$custom-light: #7ea3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fce",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 209.811,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.14344,
    "h": 251.5
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#2F7FCE
secondary
#D1AC88
accent
#9342E6
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2F7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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