#2F53B5#2F53B5

#2F53B5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.161 H 265.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2F53B5
RGBrgb(47, 83, 181)
HSLhsl(224, 59%, 45%)
HSVhsv(224, 74%, 71%)
CMYKcmyk(74%, 54.1%, 0%, 29%)
CIE-LABlab(38.07, 21.92, -55.75)
CIE-LCHlch(38.07, 59.91, 291.46°)
OKLaboklab(47.4% -0.0129 -0.1606)
OKLCHoklch(47.4% 0.161 265.4)
XYZxyz(12.6031, 10.1257, 44.9973)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B5 #B5912F
analogous
#2F96B5 #2F53B5 #4E2FB5
triadic
#2F53B5 #B52F53 #53B52F
tetradic
#2F53B5 #B52F96 #B5912F #2FB54E
square
#2F53B5 #B52F96 #B5912F #2FB54E
split-complementary
#2F53B5 #B54E2F #96B52F
monochromatic
#162654 #223D84 #2F53B5 #5073D1 #8099DE

Accessibility & contrast

On white

6.94
#2F53B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F53B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53B5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B5#FFFFFF#000000##FFFFFF
##2F53B51.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0260B8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f53b5;
/* rgb */ color: rgb(47, 83, 181);
/* oklch */ color: oklch(47.4% 0.161 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a82cc',
    500: '#2f53b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b5;
$custom-light: #7a82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b5",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 181
  },
  "hsl": {
    "h": 223.881,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47401,
    "c": 0.16109,
    "h": 265.4
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#2F53B5
secondary
#C7B279
accent
#B846E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2F53B5

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

Preview Lab → · Contrast checker → · Palette generator →

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