#2F6DA8#2F6DA8

#2F6DA8 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.3% C 0.113 H 249.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F6DA8
RGBrgb(47, 109, 168)
HSLhsl(209, 56%, 42%)
HSVhsv(209, 72%, 66%)
CMYKcmyk(72%, 35.1%, 0%, 34.1%)
CIE-LABlab(44.76, 0.32, -37.39)
CIE-LCHlch(44.76, 37.40, 270.49°)
OKLaboklab(52.3% -0.0388 -0.1062)
OKLCHoklch(52.3% 0.113 249.9)
XYZxyz(13.7062, 14.3673, 39.0890)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DA8 #A86A2F
analogous
#2FA8A7 #2F6DA8 #2F31A8
triadic
#2F6DA8 #A82F6D #6DA82F
tetradic
#2F6DA8 #A72FA8 #A86A2F #31A82F
square
#2F6DA8 #A72FA8 #A86A2F #31A82F
split-complementary
#2F6DA8 #A82F31 #A8A72F
monochromatic
#142F48 #224E78 #2F6DA8 #488CCC #78AAD9

Accessibility & contrast

On white

5.42
#2F6DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F6DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DA8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DA8#FFFFFF#000000##FFFFFF
##2F6DA81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6da8;
/* rgb */ color: rgb(47, 109, 168);
/* oklch */ color: oklch(52.3% 0.113 249.9);
Tailwind
colors: {
  custom: {
    50: '#7796c2',
    500: '#2f6da8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6da8;
$custom-light: #7796c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6da8",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 168
  },
  "hsl": {
    "h": 209.256,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.11306,
    "h": 249.9
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#2F6DA8
secondary
#C19871
accent
#9248E0
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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