#2F7CCE#2F7CCE

#2F7CCE is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.147 H 252.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F7CCE
RGBrgb(47, 124, 206)
HSLhsl(211, 63%, 50%)
HSVhsv(211, 77%, 81%)
CMYKcmyk(77.2%, 39.8%, 0%, 19.2%)
CIE-LABlab(51.24, 5.16, -49.05)
CIE-LCHlch(51.24, 49.32, 276.01°)
OKLaboklab(58.05% -0.043 -0.1401)
OKLCHoklch(58.05% 0.147 252.9)
XYZxyz(19.5163, 19.4736, 61.1107)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CCE #CE812F
analogous
#2FCCCE #2F7CCE #312FCE
triadic
#2F7CCE #CE2F7C #7CCE2F
tetradic
#2F7CCE #CE2FCC #CE812F #2FCE31
square
#2F7CCE #CE2FCC #CE812F #2FCE31
split-complementary
#2F7CCE #CE312F #CCCE2F
monochromatic
#18406A #245E9C #2F7CCE #609BDB #91BAE6

Accessibility & contrast

On white

4.29
#2F7CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2F7CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CCE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CCE#FFFFFF#000000##000000
##2F7CCE1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f7cce;
/* rgb */ color: rgb(47, 124, 206);
/* oklch */ color: oklch(58.0% 0.147 252.9);
Tailwind
colors: {
  custom: {
    50: '#7ea1dd',
    500: '#2f7cce',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cce;
$custom-light: #7ea1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cce",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 210.943,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.14655,
    "h": 252.9
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#2F7CCE
secondary
#D1AE88
accent
#9642E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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