#2F6ABB#2F6ABB

#2F6ABB is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.8% C 0.141 H 257.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2F6ABB
RGBrgb(47, 106, 187)
HSLhsl(215, 60%, 46%)
HSVhsv(215, 75%, 73%)
CMYKcmyk(74.9%, 43.3%, 0%, 26.7%)
CIE-LABlab(44.94, 9.28, -48.19)
CIE-LCHlch(44.94, 49.08, 280.90°)
OKLaboklab(52.79% -0.0314 -0.1379)
OKLCHoklch(52.79% 0.141 257.2)
XYZxyz(15.2927, 14.4985, 48.9966)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6ABB #BB802F
analogous
#2FB0BB #2F6ABB #3A2FBB
triadic
#2F6ABB #BB2F6A #6ABB2F
tetradic
#2F6ABB #BB2FB0 #BB802F #2FBB3A
square
#2F6ABB #BB2FB0 #BB802F #2FBB3A
split-complementary
#2F6ABB #BB3A2F #B0BB2F
monochromatic
#163359 #234E8A #2F6ABB #538AD4 #84ABE0

Accessibility & contrast

On white

5.38
#2F6ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2F6ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6ABB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6ABB#FFFFFF#000000##FFFFFF
##2F6ABB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6abb;
/* rgb */ color: rgb(47, 106, 187);
/* oklch */ color: oklch(52.8% 0.141 257.2);
Tailwind
colors: {
  custom: {
    50: '#7a94d0',
    500: '#2f6abb',
    950: '#000000',
  },
}
SCSS
$custom: #2f6abb;
$custom-light: #7a94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6abb",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 214.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.14145,
    "h": 257.2
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#2F6ABB
secondary
#C9A97C
accent
#A045E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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