#2F5CBD#2F5CBD

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

Color values

HEX#2F5CBD
RGBrgb(47, 92, 189)
HSLhsl(221, 60%, 46%)
HSVhsv(221, 75%, 74%)
CMYKcmyk(75.1%, 51.3%, 0%, 25.9%)
CIE-LABlab(41.11, 19.05, -55.52)
CIE-LCHlch(41.11, 58.70, 288.93°)
OKLaboklab(49.89% -0.0193 -0.1597)
OKLCHoklch(49.89% 0.161 263.1)
XYZxyz(14.1815, 11.9312, 49.6898)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5CBD #BD902F
analogous
#2FA3BD #2F5CBD #492FBD
triadic
#2F5CBD #BD2F5C #5CBD2F
tetradic
#2F5CBD #BD2FA3 #BD902F #2FBD49
square
#2F5CBD #BD2FA3 #BD902F #2FBD49
split-complementary
#2F5CBD #BD492F #A3BD2F
monochromatic
#172C5B #23448C #2F5CBD #557DD5 #86A2E1

Accessibility & contrast

On white

6.20
#2F5CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2F5CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5CBD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5CBD#FFFFFF#000000##FFFFFF
##2F5CBD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f5cbd;
/* rgb */ color: rgb(47, 92, 189);
/* oklch */ color: oklch(49.9% 0.161 263.1);
Tailwind
colors: {
  custom: {
    50: '#7b89d2',
    500: '#2f5cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f5cbd;
$custom-light: #7b89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5cbd",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 220.986,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.16089,
    "h": 263.1
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#2F5CBD
secondary
#CAB27E
accent
#B144E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F5CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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