#2F8BCA#2F8BCA

#2F8BCA is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.3% C 0.128 H 243.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8BCA
RGBrgb(47, 139, 202)
HSLhsl(204, 62%, 49%)
HSVhsv(204, 77%, 79%)
CMYKcmyk(76.7%, 31.2%, 0%, 20.8%)
CIE-LABlab(55.41, -5.24, -40.17)
CIE-LCHlch(55.41, 40.51, 262.56°)
OKLaboklab(61.26% -0.0574 -0.1139)
OKLCHoklch(61.26% 0.128 243.2)
XYZxyz(21.0614, 23.3313, 59.2590)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BCA #CA6E2F
analogous
#2FCABC #2F8BCA #2F3ECA
triadic
#2F8BCA #CA2F8B #8BCA2F
tetradic
#2F8BCA #BC2FCA #CA6E2F #3ECA2F
square
#2F8BCA #BC2FCA #CA6E2F #3ECA2F
split-complementary
#2F8BCA #CA2F3E #CABC2F
monochromatic
#184767 #236998 #2F8BCA #5DA7D9 #8FC2E5

Accessibility & contrast

On white

3.71
#2F8BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2F8BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BCA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BCA#FFFFFF#000000##000000
##2F8BCA1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#009AA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8bca;
/* rgb */ color: rgb(47, 139, 202);
/* oklch */ color: oklch(61.3% 0.128 243.2);
Tailwind
colors: {
  custom: {
    50: '#7eacda',
    500: '#2f8bca',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bca;
$custom-light: #7eacda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bca",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 204.387,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.12755,
    "h": 243.2
  },
  "luminance": 0.23334
}

Semantic roles & 50–950 ramp

primary
#2F8BCA
secondary
#CFA486
accent
#8542E5
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #2F8BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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