#2F7BCA#2F7BCA

#2F7BCA is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.6% C 0.142 H 252.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F7BCA
RGBrgb(47, 123, 202)
HSLhsl(211, 62%, 49%)
HSVhsv(211, 77%, 79%)
CMYKcmyk(76.7%, 39.1%, 0%, 20.8%)
CIE-LABlab(50.73, 4.29, -47.59)
CIE-LCHlch(50.73, 47.78, 275.16°)
OKLaboklab(57.57% -0.043 -0.1358)
OKLCHoklch(57.57% 0.143 252.4)
XYZxyz(18.9119, 19.0323, 58.5425)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BCA #CA7E2F
analogous
#2FC9CA #2F7BCA #312FCA
triadic
#2F7BCA #CA2F7B #7BCA2F
tetradic
#2F7BCA #CA2FC9 #CA7E2F #2FCA31
square
#2F7BCA #CA2FC9 #CA7E2F #2FCA31
split-complementary
#2F7BCA #CA312F #C9CA2F
monochromatic
#183F67 #235D98 #2F7BCA #5D9AD9 #8FB9E5

Accessibility & contrast

On white

4.37
#2F7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2F7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BCA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BCA#FFFFFF#000000##000000
##2F7BCA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7bca;
/* rgb */ color: rgb(47, 123, 202);
/* oklch */ color: oklch(57.6% 0.142 252.4);
Tailwind
colors: {
  custom: {
    50: '#7da0da',
    500: '#2f7bca',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bca;
$custom-light: #7da0da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bca",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 210.581,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.1425,
    "h": 252.4
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#2F7BCA
secondary
#CFAB86
accent
#9542E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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