#2F6CB8#2F6CB8

#2F6CB8 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.135 H 255.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F6CB8
RGBrgb(47, 108, 184)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 74%, 72%)
CMYKcmyk(74.5%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.34, 6.89, -45.81)
CIE-LCHlch(45.34, 46.32, 278.55°)
OKLaboklab(53.05% -0.0338 -0.1309)
OKLCHoklch(53.05% 0.135 255.5)
XYZxyz(15.1834, 14.7884, 47.3924)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6CB8 #B87B2F
analogous
#2FB0B8 #2F6CB8 #372FB8
triadic
#2F6CB8 #B82F6C #6CB82F
tetradic
#2F6CB8 #B82FB0 #B87B2F #2FB837
square
#2F6CB8 #B82FB0 #B87B2F #2FB837
split-complementary
#2F6CB8 #B8372F #B0B82F
monochromatic
#163357 #234F87 #2F6CB8 #528BD3 #82ACDF

Accessibility & contrast

On white

5.31
#2F6CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F6CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6CB8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6CB8#FFFFFF#000000##FFFFFF
##2F6CB81.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BB
Deuteranopia (green-blind)
#3166B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6cb8;
/* rgb */ color: rgb(47, 108, 184);
/* oklch */ color: oklch(53.0% 0.135 255.5);
Tailwind
colors: {
  custom: {
    50: '#7a95ce',
    500: '#2f6cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6cb8;
$custom-light: #7a95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6cb8",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 213.285,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.13517,
    "h": 255.5
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#2F6CB8
secondary
#C8A67B
accent
#9D45E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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