#2F6EB8#2F6EB8

#2F6EB8 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.133 H 254.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F6EB8
RGBrgb(47, 110, 184)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 72%)
CMYKcmyk(74.5%, 40.2%, 0%, 27.8%)
CIE-LABlab(45.93, 5.63, -44.87)
CIE-LCHlch(45.93, 45.23, 277.16°)
OKLaboklab(53.5% -0.0357 -0.1281)
OKLCHoklch(53.5% 0.133 254.4)
XYZxyz(15.3967, 15.2152, 47.4635)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EB8 #B8792F
analogous
#2FB2B8 #2F6EB8 #352FB8
triadic
#2F6EB8 #B82F6E #6EB82F
tetradic
#2F6EB8 #B82FB2 #B8792F #2FB835
square
#2F6EB8 #B82FB2 #B8792F #2FB835
split-complementary
#2F6EB8 #B8352F #B2B82F
monochromatic
#163457 #235187 #2F6EB8 #528DD3 #82ADDF

Accessibility & contrast

On white

5.19
#2F6EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F6EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EB8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EB8#FFFFFF#000000##FFFFFF
##2F6EB81.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#3567B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6eb8;
/* rgb */ color: rgb(47, 110, 184);
/* oklch */ color: oklch(53.5% 0.133 254.4);
Tailwind
colors: {
  custom: {
    50: '#7a97ce',
    500: '#2f6eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eb8;
$custom-light: #7a97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eb8",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 212.409,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.13297,
    "h": 254.4
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#2F6EB8
secondary
#C8A57B
accent
#9A45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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