#2F6EB9#2F6EB9

#2F6EB9 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.134 H 254.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F6EB9
RGBrgb(47, 110, 185)
HSLhsl(213, 59%, 45%)
HSVhsv(213, 75%, 73%)
CMYKcmyk(74.6%, 40.5%, 0%, 27.5%)
CIE-LABlab(45.98, 6.01, -45.36)
CIE-LCHlch(45.98, 45.76, 277.54°)
OKLaboklab(53.57% -0.0354 -0.1295)
OKLCHoklch(53.57% 0.134 254.7)
XYZxyz(15.5019, 15.2572, 48.0175)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EB9 #B97A2F
analogous
#2FB3B9 #2F6EB9 #352FB9
triadic
#2F6EB9 #B92F6E #6EB92F
tetradic
#2F6EB9 #B92FB3 #B97A2F #2FB935
square
#2F6EB9 #B92FB3 #B97A2F #2FB935
split-complementary
#2F6EB9 #B9352F #B3B92F
monochromatic
#163457 #235188 #2F6EB9 #528DD3 #83ADDF

Accessibility & contrast

On white

5.18
#2F6EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2F6EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EB9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EB9#FFFFFF#000000##FFFFFF
##2F6EB91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6eb9;
/* rgb */ color: rgb(47, 110, 185);
/* oklch */ color: oklch(53.6% 0.134 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a97ce',
    500: '#2f6eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2f6eb9;
$custom-light: #7a97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6eb9",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 212.609,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.13429,
    "h": 254.7
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#2F6EB9
secondary
#C9A57B
accent
#9B45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2F6EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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