#2F6FBA#2F6FBA

#2F6FBA is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.9% C 0.135 H 254.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F6FBA
RGBrgb(47, 111, 186)
HSLhsl(212, 60%, 46%)
HSVhsv(212, 75%, 73%)
CMYKcmyk(74.7%, 40.3%, 0%, 27.1%)
CIE-LABlab(46.33, 5.76, -45.39)
CIE-LCHlch(46.33, 45.75, 277.23°)
OKLaboklab(53.86% -0.0361 -0.1296)
OKLCHoklch(53.86% 0.135 254.4)
XYZxyz(15.7164, 15.5166, 48.6116)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6FBA #BA7A2F
analogous
#2FB4BA #2F6FBA #342FBA
triadic
#2F6FBA #BA2F6F #6FBA2F
tetradic
#2F6FBA #BA2FB4 #BA7A2F #2FBA34
square
#2F6FBA #BA2FB4 #BA7A2F #2FBA34
split-complementary
#2F6FBA #BA342F #B4BA2F
monochromatic
#163558 #235289 #2F6FBA #538ED3 #84AEE0

Accessibility & contrast

On white

5.12
#2F6FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F6FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6FBA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6FBA#FFFFFF#000000##FFFFFF
##2F6FBA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f6fba;
/* rgb */ color: rgb(47, 111, 186);
/* oklch */ color: oklch(53.9% 0.135 254.4);
Tailwind
colors: {
  custom: {
    50: '#7a97cf',
    500: '#2f6fba',
    950: '#000000',
  },
}
SCSS
$custom: #2f6fba;
$custom-light: #7a97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6fba",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 212.374,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.13453,
    "h": 254.4
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#2F6FBA
secondary
#C9A57C
accent
#9A45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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