#2F6CAB#2F6CAB

#2F6CAB is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.2% C 0.118 H 251.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2F6CAB
RGBrgb(47, 108, 171)
HSLhsl(210, 57%, 43%)
HSVhsv(210, 73%, 67%)
CMYKcmyk(72.5%, 36.8%, 0%, 32.9%)
CIE-LABlab(44.62, 2.05, -39.38)
CIE-LCHlch(44.62, 39.43, 272.98°)
OKLaboklab(52.24% -0.037 -0.112)
OKLCHoklch(52.24% 0.118 251.7)
XYZxyz(13.8828, 14.2682, 40.5426)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CAB #AB6E2F
analogous
#2FAAAB #2F6CAB #302FAB
triadic
#2F6CAB #AB2F6C #6CAB2F
tetradic
#2F6CAB #AB2FAA #AB6E2F #2FAB30
square
#2F6CAB #AB2FAA #AB6E2F #2FAB30
split-complementary
#2F6CAB #AB302F #AAAB2F
monochromatic
#152F4B #224E7B #2F6CAB #4A8BCD #7AA9DA

Accessibility & contrast

On white

5.45
#2F6CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2F6CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CAB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CAB#FFFFFF#000000##FFFFFF
##2F6CAB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#3D64AA
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f6cab;
/* rgb */ color: rgb(47, 108, 171);
/* oklch */ color: oklch(52.2% 0.118 251.7);
Tailwind
colors: {
  custom: {
    50: '#7795c4',
    500: '#2f6cab',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cab;
$custom-light: #7795c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cab",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 171
  },
  "hsl": {
    "h": 210.484,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.11796,
    "h": 251.7
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#2F6CAB
secondary
#C39C73
accent
#9548E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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