#2F6FA1#2F6FA1

#2F6FA1 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.4% C 0.102 H 245.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F6FA1
RGBrgb(47, 111, 161)
HSLhsl(206, 55%, 41%)
HSVhsv(206, 71%, 63%)
CMYKcmyk(70.8%, 31.1%, 0%, 36.9%)
CIE-LABlab(45.00, -3.45, -32.88)
CIE-LCHlch(45.00, 33.06, 264.01°)
OKLaboklab(52.38% -0.0429 -0.093)
OKLCHoklch(52.38% 0.102 245.2)
XYZxyz(13.2873, 14.5450, 35.8185)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FA1 #A1612F
analogous
#2FA19A #2F6FA1 #2F36A1
triadic
#2F6FA1 #A12F6F #6FA12F
tetradic
#2F6FA1 #9A2FA1 #A1612F #36A12F
square
#2F6FA1 #9A2FA1 #A1612F #36A12F
split-complementary
#2F6FA1 #A12F36 #A19A2F
monochromatic
#132E42 #214E72 #2F6FA1 #458FC9 #74ABD6

Accessibility & contrast

On white

5.37
#2F6FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F6FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FA1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FA1#FFFFFF#000000##FFFFFF
##2F6FA11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A3
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6fa1;
/* rgb */ color: rgb(47, 111, 161);
/* oklch */ color: oklch(52.4% 0.102 245.2);
Tailwind
colors: {
  custom: {
    50: '#7698bd',
    500: '#2f6fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fa1;
$custom-light: #7698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fa1",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 161
  },
  "hsl": {
    "h": 206.316,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.10243,
    "h": 245.2
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#2F6FA1
secondary
#BE916E
accent
#8B4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2F6FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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