#2F6AB2#2F6AB2

#2F6AB2 is a mid, vivid cyan. Relative luminance 0.141; OKLCH L 52.2% C 0.129 H 255.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F6AB2
RGBrgb(47, 106, 178)
HSLhsl(213, 58%, 44%)
HSVhsv(213, 74%, 70%)
CMYKcmyk(73.6%, 40.4%, 0%, 30.2%)
CIE-LABlab(44.41, 5.90, -43.80)
CIE-LCHlch(44.41, 44.19, 277.67°)
OKLaboklab(52.21% -0.0334 -0.125)
OKLCHoklch(52.21% 0.129 255.1)
XYZxyz(14.3592, 14.1252, 44.0805)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AB2 #B2772F
analogous
#2FACB2 #2F6AB2 #362FB2
triadic
#2F6AB2 #B22F6A #6AB22F
tetradic
#2F6AB2 #B22FAC #B2772F #2FB236
square
#2F6AB2 #B22FAC #B2772F #2FB236
split-complementary
#2F6AB2 #B2362F #ACB22F
monochromatic
#153051 #224D82 #2F6AB2 #4E89D0 #7EA9DD

Accessibility & contrast

On white

5.49
#2F6AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2F6AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AB2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AB2#FFFFFF#000000##FFFFFF
##2F6AB21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#3363B1
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f6ab2;
/* rgb */ color: rgb(47, 106, 178);
/* oklch */ color: oklch(52.2% 0.129 255.1);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#2f6ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ab2;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ab2",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 212.977,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.12937,
    "h": 255.1
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#2F6AB2
secondary
#C6A277
accent
#9C46E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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