#2F53B4#2F53B4

#2F53B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.160 H 265.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2F53B4
RGBrgb(47, 83, 180)
HSLhsl(224, 59%, 45%)
HSVhsv(224, 74%, 71%)
CMYKcmyk(73.9%, 53.9%, 0%, 29.4%)
CIE-LABlab(37.99, 21.54, -55.28)
CIE-LCHlch(37.99, 59.33, 291.29°)
OKLaboklab(47.32% -0.013 -0.1592)
OKLCHoklch(47.32% 0.16 265.3)
XYZxyz(12.5009, 10.0848, 44.4589)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B4 #B4902F
analogous
#2F96B4 #2F53B4 #4D2FB4
triadic
#2F53B4 #B42F53 #53B42F
tetradic
#2F53B4 #B42F96 #B4902F #2FB44D
square
#2F53B4 #B42F96 #B4902F #2FB44D
split-complementary
#2F53B4 #B44D2F #96B42F
monochromatic
#162653 #223D83 #2F53B4 #4F72D1 #8099DE

Accessibility & contrast

On white

6.96
#2F53B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2F53B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53B4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B4#FFFFFF#000000##FFFFFF
##2F53B41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0660B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f53b4;
/* rgb */ color: rgb(47, 83, 180);
/* oklch */ color: oklch(47.3% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#7a82cb',
    500: '#2f53b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b4;
$custom-light: #7a82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b4",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 180
  },
  "hsl": {
    "h": 223.759,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.15972,
    "h": 265.3
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#2F53B4
secondary
#C7B178
accent
#B846E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F53B4

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

Preview Lab → · Contrast checker → · Palette generator →

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