#2F6DC2#2F6DC2

#2F6DC2 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.9% C 0.147 H 257.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F6DC2
RGBrgb(47, 109, 194)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(75.8%, 43.8%, 0%, 23.9%)
CIE-LABlab(46.22, 10.01, -50.19)
CIE-LCHlch(46.22, 51.18, 281.28°)
OKLaboklab(53.92% -0.0326 -0.1437)
OKLCHoklch(53.92% 0.147 257.2)
XYZxyz(16.3750, 15.4348, 53.1447)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DC2 #C2842F
analogous
#2FB7C2 #2F6DC2 #3B2FC2
triadic
#2F6DC2 #C22F6D #6DC22F
tetradic
#2F6DC2 #C22FB7 #C2842F #2FC23B
square
#2F6DC2 #C22FB7 #C2842F #2FC23B
split-complementary
#2F6DC2 #C23B2F #B7C22F
monochromatic
#17365F #235191 #2F6DC2 #588DD6 #89AFE2

Accessibility & contrast

On white

5.14
#2F6DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F6DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DC2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DC2#FFFFFF#000000##FFFFFF
##2F6DC21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6dc2;
/* rgb */ color: rgb(47, 109, 194);
/* oklch */ color: oklch(53.9% 0.147 257.2);
Tailwind
colors: {
  custom: {
    50: '#7c96d5',
    500: '#2f6dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6dc2;
$custom-light: #7c96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6dc2",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 214.694,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.14738,
    "h": 257.2
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#2F6DC2
secondary
#CCAC81
accent
#A044E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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