#2F6FAC#2F6FAC

#2F6FAC is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.116 H 250.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F6FAC
RGBrgb(47, 111, 172)
HSLhsl(209, 57%, 43%)
HSVhsv(209, 73%, 67%)
CMYKcmyk(72.7%, 35.5%, 0%, 32.5%)
CIE-LABlab(45.57, 0.56, -38.46)
CIE-LCHlch(45.57, 38.46, 270.84°)
OKLaboklab(53.01% -0.0396 -0.1093)
OKLCHoklch(53.01% 0.116 250.1)
XYZxyz(14.3003, 14.9502, 41.1537)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FAC #AC6C2F
analogous
#2FACAA #2F6FAC #2F30AC
triadic
#2F6FAC #AC2F6F #6FAC2F
tetradic
#2F6FAC #AA2FAC #AC6C2F #30AC2F
square
#2F6FAC #AA2FAC #AC6C2F #30AC2F
split-complementary
#2F6FAC #AC2F30 #ACAA2F
monochromatic
#15314C #22507C #2F6FAC #4B8ECE #7BACDB

Accessibility & contrast

On white

5.26
#2F6FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F6FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FAC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FAC#FFFFFF#000000##FFFFFF
##2F6FAC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5372AF
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6fac;
/* rgb */ color: rgb(47, 111, 172);
/* oklch */ color: oklch(53.0% 0.116 250.1);
Tailwind
colors: {
  custom: {
    50: '#7798c5',
    500: '#2f6fac',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fac;
$custom-light: #7798c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fac",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 209.28,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.11625,
    "h": 250.1
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#2F6FAC
secondary
#C39A74
accent
#9247E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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