#2F53B1#2F53B1

#2F53B1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.156 H 265.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2F53B1
RGBrgb(47, 83, 177)
HSLhsl(223, 58%, 44%)
HSVhsv(223, 73%, 69%)
CMYKcmyk(73.4%, 53.1%, 0%, 30.6%)
CIE-LABlab(37.78, 20.41, -53.86)
CIE-LCHlch(37.78, 57.60, 290.75°)
OKLaboklab(47.09% -0.0133 -0.155)
OKLCHoklch(47.09% 0.156 265.1)
XYZxyz(12.1986, 9.9639, 42.8668)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B1 #B18D2F
analogous
#2F94B1 #2F53B1 #4C2FB1
triadic
#2F53B1 #B12F53 #53B12F
tetradic
#2F53B1 #B12F94 #B18D2F #2FB14C
square
#2F53B1 #B12F94 #B18D2F #2FB14C
split-complementary
#2F53B1 #B14C2F #94B12F
monochromatic
#152650 #223C81 #2F53B1 #4D71D0 #7E98DD

Accessibility & contrast

On white

7.02
#2F53B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F53B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F53B1
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B1#FFFFFF#000000##FFFFFF
##2F53B11.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105FB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f53b1;
/* rgb */ color: rgb(47, 83, 177);
/* oklch */ color: oklch(47.1% 0.156 265.1);
Tailwind
colors: {
  custom: {
    50: '#7982c9',
    500: '#2f53b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b1;
$custom-light: #7982c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b1",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 177
  },
  "hsl": {
    "h": 223.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4709,
    "c": 0.15558,
    "h": 265.1
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#2F53B1
secondary
#C5B076
accent
#B647E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F53B1

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

Preview Lab → · Contrast checker → · Palette generator →

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