#2F6DAB#2F6DAB

#2F6DAB is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.5% C 0.117 H 251.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F6DAB
RGBrgb(47, 109, 171)
HSLhsl(210, 57%, 43%)
HSVhsv(210, 73%, 67%)
CMYKcmyk(72.5%, 36.3%, 0%, 32.9%)
CIE-LABlab(44.91, 1.43, -38.90)
CIE-LCHlch(44.91, 38.93, 272.10°)
OKLaboklab(52.48% -0.038 -0.1106)
OKLCHoklch(52.48% 0.117 251.1)
XYZxyz(13.9889, 14.4803, 40.5779)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DAB #AB6D2F
analogous
#2FABAB #2F6DAB #2F2FAB
triadic
#2F6DAB #AB2F6D #6DAB2F
tetradic
#2F6DAB #AB2FAB #AB6D2F #2FAB2F
square
#2F6DAB #AB2FAB #AB6D2F #2FAB2F
split-complementary
#2F6DAB #AB2F2F #ABAB2F
monochromatic
#15304B #224E7B #2F6DAB #4A8CCD #7AAADA

Accessibility & contrast

On white

5.39
#2F6DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6DAB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DAB#FFFFFF#000000##FFFFFF
##2F6DAB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#3F65AA
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6dab;
/* rgb */ color: rgb(47, 109, 171);
/* oklch */ color: oklch(52.5% 0.117 251.1);
Tailwind
colors: {
  custom: {
    50: '#7796c4',
    500: '#2f6dab',
    950: '#000000',
  },
}
SCSS
$custom: #2f6dab;
$custom-light: #7796c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6dab",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 171
  },
  "hsl": {
    "h": 210,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.11695,
    "h": 251.1
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#2F6DAB
secondary
#C39B73
accent
#9448E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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