#2F6ABE#2F6ABE

#2F6ABE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.0% C 0.145 H 257.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F6ABE
RGBrgb(47, 106, 190)
HSLhsl(215, 60%, 46%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(75.3%, 44.2%, 0%, 25.5%)
CIE-LABlab(45.12, 10.41, -49.64)
CIE-LCHlch(45.12, 50.72, 281.84°)
OKLaboklab(52.99% -0.0308 -0.1422)
OKLCHoklch(52.99% 0.145 257.8)
XYZxyz(15.6172, 14.6283, 50.7057)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6ABE #BE832F
analogous
#2FB2BE #2F6ABE #3C2FBE
triadic
#2F6ABE #BE2F6A #6ABE2F
tetradic
#2F6ABE #BE2FB2 #BE832F #2FBE3C
square
#2F6ABE #BE2FB2 #BE832F #2FBE3C
split-complementary
#2F6ABE #BE3C2F #B2BE2F
monochromatic
#17335C #234F8D #2F6ABE #558AD5 #86ACE1

Accessibility & contrast

On white

5.35
#2F6ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F6ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6ABE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6ABE#FFFFFF#000000##FFFFFF
##2F6ABE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4072C1
Deuteranopia (green-blind)
#2365BC
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f6abe;
/* rgb */ color: rgb(47, 106, 190);
/* oklch */ color: oklch(53.0% 0.145 257.8);
Tailwind
colors: {
  custom: {
    50: '#7b94d2',
    500: '#2f6abe',
    950: '#000000',
  },
}
SCSS
$custom: #2f6abe;
$custom-light: #7b94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6abe",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 190
  },
  "hsl": {
    "h": 215.245,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.14548,
    "h": 257.8
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#2F6ABE
secondary
#CBAB7E
accent
#A244E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F6ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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