#2F6EBB#2F6EBB

#2F6EBB is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.7% C 0.137 H 255.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F6EBB
RGBrgb(47, 110, 187)
HSLhsl(213, 60%, 46%)
HSVhsv(213, 75%, 73%)
CMYKcmyk(74.9%, 41.2%, 0%, 26.7%)
CIE-LABlab(46.10, 6.75, -46.34)
CIE-LCHlch(46.10, 46.83, 278.29°)
OKLaboklab(53.69% -0.035 -0.1324)
OKLCHoklch(53.69% 0.137 255.2)
XYZxyz(15.7145, 15.3423, 49.1372)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6EBB #BB7C2F
analogous
#2FB4BB #2F6EBB #362FBB
triadic
#2F6EBB #BB2F6E #6EBB2F
tetradic
#2F6EBB #BB2FB4 #BB7C2F #2FBB36
square
#2F6EBB #BB2FB4 #BB7C2F #2FBB36
split-complementary
#2F6EBB #BB362F #B4BB2F
monochromatic
#163459 #23518A #2F6EBB #538DD4 #84AEE0

Accessibility & contrast

On white

5.16
#2F6EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F6EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6EBB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6EBB#FFFFFF#000000##FFFFFF
##2F6EBB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6ebb;
/* rgb */ color: rgb(47, 110, 187);
/* oklch */ color: oklch(53.7% 0.137 255.2);
Tailwind
colors: {
  custom: {
    50: '#7a97d0',
    500: '#2f6ebb',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ebb;
$custom-light: #7a97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ebb",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 187
  },
  "hsl": {
    "h": 213,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.13694,
    "h": 255.2
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#2F6EBB
secondary
#C9A77C
accent
#9C45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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