#2F6EC2#2F6EC2

#2F6EC2 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.146 H 256.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F6EC2
RGBrgb(47, 110, 194)
HSLhsl(214, 61%, 47%)
HSVhsv(214, 76%, 76%)
CMYKcmyk(75.8%, 43.3%, 0%, 23.9%)
CIE-LABlab(46.51, 9.38, -49.73)
CIE-LCHlch(46.51, 50.60, 280.68°)
OKLaboklab(54.15% -0.0335 -0.1423)
OKLCHoklch(54.15% 0.146 256.8)
XYZxyz(16.4822, 15.6494, 53.1804)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EC2 #C2832F
analogous
#2FB7C2 #2F6EC2 #3A2FC2
triadic
#2F6EC2 #C22F6E #6EC22F
tetradic
#2F6EC2 #C22FB7 #C2832F #2FC23A
square
#2F6EC2 #C22FB7 #C2832F #2FC23A
split-complementary
#2F6EC2 #C23A2F #B7C22F
monochromatic
#17365F #235291 #2F6EC2 #588ED6 #89AFE2

Accessibility & contrast

On white

5.08
#2F6EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F6EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EC2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EC2#FFFFFF#000000##FFFFFF
##2F6EC21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6ec2;
/* rgb */ color: rgb(47, 110, 194);
/* oklch */ color: oklch(54.1% 0.146 256.8);
Tailwind
colors: {
  custom: {
    50: '#7c97d5',
    500: '#2f6ec2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ec2;
$custom-light: #7c97d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ec2",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 214.286,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.14624,
    "h": 256.8
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#2F6EC2
secondary
#CCAC81
accent
#9F44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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