#2F6DC3#2F6DC3

#2F6DC3 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 54.0% C 0.149 H 257.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F6DC3
RGBrgb(47, 109, 195)
HSLhsl(215, 61%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(75.9%, 44.1%, 0%, 23.5%)
CIE-LABlab(46.28, 10.39, -50.67)
CIE-LCHlch(46.28, 51.72, 281.58°)
OKLaboklab(53.99% -0.0324 -0.1451)
OKLCHoklch(53.99% 0.149 257.4)
XYZxyz(16.4876, 15.4799, 53.7381)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DC3 #C3852F
analogous
#2FB7C3 #2F6DC3 #3B2FC3
triadic
#2F6DC3 #C32F6D #6DC32F
tetradic
#2F6DC3 #C32FB7 #C3852F #2FC33B
square
#2F6DC3 #C32FB7 #C3852F #2FC33B
split-complementary
#2F6DC3 #C33B2F #B7C32F
monochromatic
#173660 #235192 #2F6DC3 #588DD7 #8AAFE3

Accessibility & contrast

On white

5.13
#2F6DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F6DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DC3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DC3#FFFFFF#000000##FFFFFF
##2F6DC31.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#2467C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6dc3;
/* rgb */ color: rgb(47, 109, 195);
/* oklch */ color: oklch(54.0% 0.149 257.4);
Tailwind
colors: {
  custom: {
    50: '#7c96d6',
    500: '#2f6dc3',
    950: '#000000',
  },
}
SCSS
$custom: #2f6dc3;
$custom-light: #7c96d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6dc3",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 195
  },
  "hsl": {
    "h": 214.865,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.14871,
    "h": 257.4
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#2F6DC3
secondary
#CDAD81
accent
#A144E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2F6DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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