#2F6DBD#2F6DBD

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

Color values

HEX#2F6DBD
RGBrgb(47, 109, 189)
HSLhsl(214, 60%, 46%)
HSVhsv(214, 75%, 74%)
CMYKcmyk(75.1%, 42.3%, 0%, 25.9%)
CIE-LABlab(45.93, 8.13, -47.77)
CIE-LCHlch(45.93, 48.46, 279.66°)
OKLaboklab(53.6% -0.0336 -0.1366)
OKLCHoklch(53.6% 0.141 256.2)
XYZxyz(15.8229, 15.2139, 50.2369)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DBD #BD7F2F
analogous
#2FB4BD #2F6DBD #382FBD
triadic
#2F6DBD #BD2F6D #6DBD2F
tetradic
#2F6DBD #BD2FB4 #BD7F2F #2FBD38
square
#2F6DBD #BD2FB4 #BD7F2F #2FBD38
split-complementary
#2F6DBD #BD382F #B4BD2F
monochromatic
#17345B #23518C #2F6DBD #558CD5 #86ADE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6DBD#FFFFFF#000000##FFFFFF
##2F6DBD1.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)
#4674C0
Deuteranopia (green-blind)
#2D67BB
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f6dbd;
/* rgb */ color: rgb(47, 109, 189);
/* oklch */ color: oklch(53.6% 0.141 256.2);
Tailwind
colors: {
  custom: {
    50: '#7b96d1',
    500: '#2f6dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f6dbd;
$custom-light: #7b96d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6dbd",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 189
  },
  "hsl": {
    "h": 213.803,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.14071,
    "h": 256.2
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#2F6DBD
secondary
#CAA97E
accent
#9E44E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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