#2F6AE0#2F6AE0

#2F6AE0 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.4% C 0.191 H 262.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F6AE0
RGBrgb(47, 106, 224)
HSLhsl(220, 74%, 53%)
HSVhsv(220, 79%, 88%)
CMYKcmyk(79%, 52.7%, 0%, 12.2%)
CIE-LABlab(47.36, 23.20, -65.50)
CIE-LCHlch(47.36, 69.49, 289.50°)
OKLaboklab(55.42% -0.0259 -0.1888)
OKLCHoklch(55.42% 0.191 262.2)
XYZxyz(19.7760, 16.2919, 72.6089)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6AE0 #E0A52F
analogous
#2FC3E0 #2F6AE0 #4C2FE0
triadic
#2F6AE0 #E02F6A #6AE02F
tetradic
#2F6AE0 #E02FC3 #E0A52F #2FE04C
square
#2F6AE0 #E02FC3 #E0A52F #2FE04C
split-complementary
#2F6AE0 #E04C2F #C3E02F
monochromatic
#133881 #1B4FB7 #2F6AE0 #6490E8 #9AB6F0

Accessibility & contrast

On white

4.93
#2F6AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2F6AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6AE0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6AE0#FFFFFF#000000##FFFFFF
##2F6AE01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B79E4
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f6ae0;
/* rgb */ color: rgb(47, 106, 224);
/* oklch */ color: oklch(55.4% 0.191 262.2);
Tailwind
colors: {
  custom: {
    50: '#8393ea',
    500: '#2f6ae0',
    950: '#000000',
  },
}
SCSS
$custom: #2f6ae0;
$custom-light: #8393ea;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6ae0",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 224
  },
  "hsl": {
    "h": 220,
    "s": 74.059,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.1906,
    "h": 262.2
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#2F6AE0
secondary
#DCC28F
accent
#B337F1
background
#F8F9FE
surface
#F0F1FD
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #2F6AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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