#2F6CB9#2F6CB9

#2F6CB9 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.137 H 255.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F6CB9
RGBrgb(47, 108, 185)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 75%, 73%)
CMYKcmyk(74.6%, 41.6%, 0%, 27.5%)
CIE-LABlab(45.40, 7.26, -46.29)
CIE-LCHlch(45.40, 46.86, 278.92°)
OKLaboklab(53.11% -0.0336 -0.1323)
OKLCHoklch(53.11% 0.137 255.7)
XYZxyz(15.2886, 14.8305, 47.9464)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CB9 #B97C2F
analogous
#2FB1B9 #2F6CB9 #372FB9
triadic
#2F6CB9 #B92F6C #6CB92F
tetradic
#2F6CB9 #B92FB1 #B97C2F #2FB937
square
#2F6CB9 #B92FB1 #B97C2F #2FB937
split-complementary
#2F6CB9 #B9372F #B1B92F
monochromatic
#163357 #235088 #2F6CB9 #528BD3 #83ACDF

Accessibility & contrast

On white

5.29
#2F6CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F6CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CB9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CB9#FFFFFF#000000##FFFFFF
##2F6CB91.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BC
Deuteranopia (green-blind)
#2F66B7
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6cb9;
/* rgb */ color: rgb(47, 108, 185);
/* oklch */ color: oklch(53.1% 0.137 255.7);
Tailwind
colors: {
  custom: {
    50: '#7a95ce',
    500: '#2f6cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cb9;
$custom-light: #7a95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cb9",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 213.478,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.1365,
    "h": 255.7
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#2F6CB9
secondary
#C9A67B
accent
#9D45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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