#2F53B8#2F53B8

#2F53B8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.165 H 265.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2F53B8
RGBrgb(47, 83, 184)
HSLhsl(224, 59%, 45%)
HSVhsv(224, 74%, 72%)
CMYKcmyk(74.5%, 54.9%, 0%, 27.8%)
CIE-LABlab(38.29, 23.05, -57.16)
CIE-LCHlch(38.29, 61.63, 291.96°)
OKLaboklab(47.64% -0.0127 -0.1647)
OKLCHoklch(47.64% 0.165 265.6)
XYZxyz(12.9142, 10.2501, 46.6360)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B8 #B8942F
analogous
#2F97B8 #2F53B8 #502FB8
triadic
#2F53B8 #B82F53 #53B82F
tetradic
#2F53B8 #B82F97 #B8942F #2FB850
square
#2F53B8 #B82F97 #B8942F #2FB850
split-complementary
#2F53B8 #B8502F #97B82F
monochromatic
#162757 #233D87 #2F53B8 #5273D3 #829BDF

Accessibility & contrast

On white

6.88
#2F53B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2F53B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53B8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B8#FFFFFF#000000##FFFFFF
##2F53B81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f53b8;
/* rgb */ color: rgb(47, 83, 184);
/* oklch */ color: oklch(47.6% 0.165 265.6);
Tailwind
colors: {
  custom: {
    50: '#7b82ce',
    500: '#2f53b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b8;
$custom-light: #7b82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b8",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 184
  },
  "hsl": {
    "h": 224.234,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47638,
    "c": 0.1652,
    "h": 265.6
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#2F53B8
secondary
#C8B47B
accent
#B945E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F53B8

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

Preview Lab → · Contrast checker → · Palette generator →

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