#2F53B9#2F53B9

#2F53B9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.167 H 265.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2F53B9
RGBrgb(47, 83, 185)
HSLhsl(224, 59%, 45%)
HSVhsv(224, 75%, 73%)
CMYKcmyk(74.6%, 55.1%, 0%, 27.5%)
CIE-LABlab(38.36, 23.43, -57.63)
CIE-LCHlch(38.36, 62.21, 292.12°)
OKLaboklab(47.72% -0.0126 -0.1661)
OKLCHoklch(47.72% 0.167 265.7)
XYZxyz(13.0194, 10.2922, 47.1900)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B9 #B9952F
analogous
#2F98B9 #2F53B9 #502FB9
triadic
#2F53B9 #B92F53 #53B92F
tetradic
#2F53B9 #B92F98 #B9952F #2FB950
square
#2F53B9 #B92F98 #B9952F #2FB950
split-complementary
#2F53B9 #B9502F #98B92F
monochromatic
#162757 #233D88 #2F53B9 #5274D3 #839BDF

Accessibility & contrast

On white

6.87
#2F53B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2F53B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53B9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B9#FFFFFF#000000##FFFFFF
##2F53B91.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f53b9;
/* rgb */ color: rgb(47, 83, 185);
/* oklch */ color: oklch(47.7% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#7b82cf',
    500: '#2f53b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b9;
$custom-light: #7b82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b9",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 185
  },
  "hsl": {
    "h": 224.348,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.16656,
    "h": 265.7
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#2F53B9
secondary
#C9B47B
accent
#BA45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F53B9

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

Preview Lab → · Contrast checker → · Palette generator →

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