#2F6AA5#2F6AA5

#2F6AA5 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.4% C 0.112 H 250.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F6AA5
RGBrgb(47, 106, 165)
HSLhsl(210, 56%, 42%)
HSVhsv(210, 72%, 65%)
CMYKcmyk(71.5%, 35.8%, 0%, 35.3%)
CIE-LABlab(43.69, 1.07, -37.31)
CIE-LCHlch(43.69, 37.32, 271.65°)
OKLaboklab(51.42% -0.0366 -0.106)
OKLCHoklch(51.42% 0.112 250.9)
XYZxyz(13.1153, 13.6276, 37.5292)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AA5 #A56A2F
analogous
#2FA5A5 #2F6AA5 #2F2FA5
triadic
#2F6AA5 #A52F6A #6AA52F
tetradic
#2F6AA5 #A52FA5 #A56A2F #2FA52F
square
#2F6AA5 #A52FA5 #A56A2F #2FA52F
split-complementary
#2F6AA5 #A52F2F #A5A52F
monochromatic
#142D46 #214B75 #2F6AA5 #4789CB #76A7D8

Accessibility & contrast

On white

5.64
#2F6AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F6AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AA5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AA5#FFFFFF#000000##FFFFFF
##2F6AA51.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA7
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#007880
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f6aa5;
/* rgb */ color: rgb(47, 106, 165);
/* oklch */ color: oklch(51.4% 0.112 250.9);
Tailwind
colors: {
  custom: {
    50: '#7694c0',
    500: '#2f6aa5',
    950: '#000000',
  },
}
SCSS
$custom: #2f6aa5;
$custom-light: #7694c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6aa5",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 165
  },
  "hsl": {
    "h": 210,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.11214,
    "h": 250.9
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#2F6AA5
secondary
#C09870
accent
#9449DF
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F6AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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