#2F6ABC#2F6ABC

#2F6ABC is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.9% C 0.143 H 257.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F6ABC
RGBrgb(47, 106, 188)
HSLhsl(215, 60%, 46%)
HSVhsv(215, 75%, 74%)
CMYKcmyk(75%, 43.6%, 0%, 26.3%)
CIE-LABlab(45.00, 9.65, -48.68)
CIE-LCHlch(45.00, 49.62, 281.22°)
OKLaboklab(52.86% -0.0312 -0.1393)
OKLCHoklch(52.86% 0.143 257.4)
XYZxyz(15.4001, 14.5415, 49.5624)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6ABC #BC812F
analogous
#2FB0BC #2F6ABC #3B2FBC
triadic
#2F6ABC #BC2F6A #6ABC2F
tetradic
#2F6ABC #BC2FB0 #BC812F #2FBC3B
square
#2F6ABC #BC2FB0 #BC812F #2FBC3B
split-complementary
#2F6ABC #BC3B2F #B0BC2F
monochromatic
#17335A #234E8B #2F6ABC #548AD4 #85ABE0

Accessibility & contrast

On white

5.37
#2F6ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F6ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6ABC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6ABC#FFFFFF#000000##FFFFFF
##2F6ABC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#2764BA
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6abc;
/* rgb */ color: rgb(47, 106, 188);
/* oklch */ color: oklch(52.9% 0.143 257.4);
Tailwind
colors: {
  custom: {
    50: '#7b94d1',
    500: '#2f6abc',
    950: '#000000',
  },
}
SCSS
$custom: #2f6abc;
$custom-light: #7b94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6abc",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 214.894,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.14279,
    "h": 257.4
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#2F6ABC
secondary
#CAAA7D
accent
#A145E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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