#2F53B6#2F53B6

#2F53B6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.162 H 265.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2F53B6
RGBrgb(47, 83, 182)
HSLhsl(224, 59%, 45%)
HSVhsv(224, 74%, 71%)
CMYKcmyk(74.2%, 54.4%, 0%, 28.6%)
CIE-LABlab(38.14, 22.30, -56.22)
CIE-LCHlch(38.14, 60.48, 291.63°)
OKLaboklab(47.48% -0.0128 -0.1619)
OKLCHoklch(47.48% 0.162 265.5)
XYZxyz(12.7061, 10.1669, 45.5397)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B6 #B6922F
analogous
#2F97B6 #2F53B6 #4F2FB6
triadic
#2F53B6 #B62F53 #53B62F
tetradic
#2F53B6 #B62F97 #B6922F #2FB64F
square
#2F53B6 #B62F97 #B6922F #2FB64F
split-complementary
#2F53B6 #B64F2F #97B62F
monochromatic
#162755 #223D85 #2F53B6 #5073D2 #819ADE

Accessibility & contrast

On white

6.92
#2F53B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F53B6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B6#FFFFFF#000000##FFFFFF
##2F53B61.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f53b6;
/* rgb */ color: rgb(47, 83, 182);
/* oklch */ color: oklch(47.5% 0.162 265.5);
Tailwind
colors: {
  custom: {
    50: '#7a82cd',
    500: '#2f53b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b6;
$custom-light: #7a82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b6",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 182
  },
  "hsl": {
    "h": 224,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4748,
    "c": 0.16246,
    "h": 265.5
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F53B6

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

Preview Lab → · Contrast checker → · Palette generator →

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