#2F6DBA#2F6DBA

#2F6DBA is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.137 H 255.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F6DBA
RGBrgb(47, 109, 186)
HSLhsl(213, 60%, 46%)
HSVhsv(213, 75%, 73%)
CMYKcmyk(74.7%, 41.4%, 0%, 27.1%)
CIE-LABlab(45.75, 7.01, -46.32)
CIE-LCHlch(45.75, 46.84, 278.61°)
OKLaboklab(53.4% -0.0343 -0.1323)
OKLCHoklch(53.4% 0.137 255.5)
XYZxyz(15.5006, 15.0850, 48.5396)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6DBA #BA7C2F
analogous
#2FB3BA #2F6DBA #362FBA
triadic
#2F6DBA #BA2F6D #6DBA2F
tetradic
#2F6DBA #BA2FB3 #BA7C2F #2FBA36
square
#2F6DBA #BA2FB3 #BA7C2F #2FBA36
split-complementary
#2F6DBA #BA362F #B3BA2F
monochromatic
#163458 #235089 #2F6DBA #538CD3 #84ADE0

Accessibility & contrast

On white

5.23
#2F6DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F6DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6DBA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6DBA#FFFFFF#000000##FFFFFF
##2F6DBA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f6dba;
/* rgb */ color: rgb(47, 109, 186);
/* oklch */ color: oklch(53.4% 0.137 255.5);
Tailwind
colors: {
  custom: {
    50: '#7a96cf',
    500: '#2f6dba',
    950: '#000000',
  },
}
SCSS
$custom: #2f6dba;
$custom-light: #7a96cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6dba",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 213.237,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.13672,
    "h": 255.5
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#2F6DBA
secondary
#C9A77C
accent
#9C45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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