#2F6DB8#2F6DB8

#2F6DB8 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.134 H 255.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2F6DB8
RGBrgb(47, 109, 184)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 74%, 72%)
CMYKcmyk(74.5%, 40.8%, 0%, 27.8%)
CIE-LABlab(45.63, 6.26, -45.34)
CIE-LCHlch(45.63, 45.77, 277.86°)
OKLaboklab(53.27% -0.0348 -0.1295)
OKLCHoklch(53.27% 0.134 255)
XYZxyz(15.2895, 15.0006, 47.4277)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DB8 #B87A2F
analogous
#2FB1B8 #2F6DB8 #362FB8
triadic
#2F6DB8 #B82F6D #6DB82F
tetradic
#2F6DB8 #B82FB1 #B87A2F #2FB836
square
#2F6DB8 #B82FB1 #B87A2F #2FB836
split-complementary
#2F6DB8 #B8362F #B1B82F
monochromatic
#163357 #235087 #2F6DB8 #528CD3 #82ACDF

Accessibility & contrast

On white

5.25
#2F6DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2F6DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DB8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DB8#FFFFFF#000000##FFFFFF
##2F6DB81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6db8;
/* rgb */ color: rgb(47, 109, 184);
/* oklch */ color: oklch(53.3% 0.134 255.0);
Tailwind
colors: {
  custom: {
    50: '#7a96ce',
    500: '#2f6db8',
    950: '#000000',
  },
}
SCSS
$custom: #2f6db8;
$custom-light: #7a96ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6db8",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 212.847,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.13406,
    "h": 255
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#2F6DB8
secondary
#C8A57B
accent
#9B45E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F6DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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