#2F6DAF#2F6DAF

#2F6DAF is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.122 H 252.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F6DAF
RGBrgb(47, 109, 175)
HSLhsl(211, 58%, 44%)
HSVhsv(211, 73%, 69%)
CMYKcmyk(73.1%, 37.7%, 0%, 31.4%)
CIE-LABlab(45.13, 2.91, -40.90)
CIE-LCHlch(45.13, 41.00, 274.07°)
OKLaboklab(52.72% -0.0369 -0.1165)
OKLCHoklch(52.72% 0.122 252.4)
XYZxyz(14.3759, 14.6352, 42.6163)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DAF #AF712F
analogous
#2FADAF #2F6DAF #312FAF
triadic
#2F6DAF #AF2F6D #6DAF2F
tetradic
#2F6DAF #AF2FAD #AF712F #2FAF31
square
#2F6DAF #AF2FAD #AF712F #2FAF31
split-complementary
#2F6DAF #AF312F #ADAF2F
monochromatic
#15314F #224F7F #2F6DAF #4C8CCF #7CABDC

Accessibility & contrast

On white

5.35
#2F6DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F6DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DAF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DAF#FFFFFF#000000##FFFFFF
##2F6DAF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#3B65AE
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6daf;
/* rgb */ color: rgb(47, 109, 175);
/* oklch */ color: oklch(52.7% 0.122 252.4);
Tailwind
colors: {
  custom: {
    50: '#7896c7',
    500: '#2f6daf',
    950: '#000000',
  },
}
SCSS
$custom: #2f6daf;
$custom-light: #7896c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6daf",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 175
  },
  "hsl": {
    "h": 210.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.12217,
    "h": 252.4
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#2F6DAF
secondary
#C49E75
accent
#9647E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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