#2F5BC0#2F5BC0

#2F5BC0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.166 H 263.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2F5BC0
RGBrgb(47, 91, 192)
HSLhsl(222, 61%, 47%)
HSVhsv(222, 76%, 75%)
CMYKcmyk(75.5%, 52.6%, 0%, 24.7%)
CIE-LABlab(41.04, 20.83, -57.37)
CIE-LCHlch(41.04, 61.04, 289.95°)
OKLaboklab(49.91% -0.0182 -0.1652)
OKLCHoklch(49.91% 0.166 263.7)
XYZxyz(14.4244, 11.8907, 51.3939)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5BC0 #C0942F
analogous
#2FA4C0 #2F5BC0 #4C2FC0
triadic
#2F5BC0 #C02F5B #5BC02F
tetradic
#2F5BC0 #C02FA4 #C0942F #2FC04C
square
#2F5BC0 #C02FA4 #C0942F #2FC04C
split-complementary
#2F5BC0 #C04C2F #A4C02F
monochromatic
#172C5E #23448F #2F5BC0 #567DD6 #88A3E2

Accessibility & contrast

On white

6.22
#2F5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2F5BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5BC0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5BC0#FFFFFF#000000##FFFFFF
##2F5BC01.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f5bc0;
/* rgb */ color: rgb(47, 91, 192);
/* oklch */ color: oklch(49.9% 0.166 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c88d4',
    500: '#2f5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #2f5bc0;
$custom-light: #7c88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5bc0",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 221.793,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.1662,
    "h": 263.7
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#2F5BC0
secondary
#CBB47F
accent
#B344E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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