#2F6EC5#2F6EC5

#2F6EC5 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.3% C 0.150 H 257.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F6EC5
RGBrgb(47, 110, 197)
HSLhsl(215, 61%, 48%)
HSVhsv(215, 76%, 77%)
CMYKcmyk(76.1%, 44.2%, 0%, 22.7%)
CIE-LABlab(46.69, 10.51, -51.17)
CIE-LCHlch(46.69, 52.23, 281.60°)
OKLaboklab(54.34% -0.0329 -0.1466)
OKLCHoklch(54.34% 0.15 257.3)
XYZxyz(16.8226, 15.7855, 54.9728)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EC5 #C5862F
analogous
#2FB9C5 #2F6EC5 #3B2FC5
triadic
#2F6EC5 #C52F6E #6EC52F
tetradic
#2F6EC5 #C52FB9 #C5862F #2FC53B
square
#2F6EC5 #C52FB9 #C5862F #2FC53B
split-complementary
#2F6EC5 #C53B2F #B9C52F
monochromatic
#173762 #235294 #2F6EC5 #5A8FD8 #8BB0E3

Accessibility & contrast

On white

5.05
#2F6EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F6EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EC5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EC5#FFFFFF#000000##FFFFFF
##2F6EC51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4276C8
Deuteranopia (green-blind)
#2468C3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f6ec5;
/* rgb */ color: rgb(47, 110, 197);
/* oklch */ color: oklch(54.3% 0.150 257.3);
Tailwind
colors: {
  custom: {
    50: '#7c97d7',
    500: '#2f6ec5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ec5;
$custom-light: #7c97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ec5",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 214.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.15023,
    "h": 257.3
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#2F6EC5
secondary
#CDAE82
accent
#A143E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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