#2F6EA8#2F6EA8

#2F6EA8 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.5% C 0.112 H 249.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F6EA8
RGBrgb(47, 110, 168)
HSLhsl(209, 56%, 42%)
HSVhsv(209, 72%, 66%)
CMYKcmyk(72%, 34.5%, 0%, 34.1%)
CIE-LABlab(45.06, -0.29, -36.92)
CIE-LCHlch(45.06, 36.92, 269.55°)
OKLaboklab(52.54% -0.0398 -0.1048)
OKLCHoklch(52.54% 0.112 249.2)
XYZxyz(13.8134, 14.5818, 39.1248)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EA8 #A8692F
analogous
#2FA8A5 #2F6EA8 #2F32A8
triadic
#2F6EA8 #A82F6E #6EA82F
tetradic
#2F6EA8 #A52FA8 #A8692F #32A82F
square
#2F6EA8 #A52FA8 #A8692F #32A82F
split-complementary
#2F6EA8 #A82F32 #A8A52F
monochromatic
#142F48 #224F78 #2F6EA8 #488DCC #78ABD9

Accessibility & contrast

On white

5.36
#2F6EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F6EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EA8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EA8#FFFFFF#000000##FFFFFF
##2F6EA81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#4365A7
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6ea8;
/* rgb */ color: rgb(47, 110, 168);
/* oklch */ color: oklch(52.5% 0.112 249.2);
Tailwind
colors: {
  custom: {
    50: '#7797c2',
    500: '#2f6ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ea8;
$custom-light: #7797c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ea8",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 208.76,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.1121,
    "h": 249.2
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#2F6EA8
secondary
#C19871
accent
#9148E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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