#2F53C4#2F53C4

#2F53C4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.181 H 266.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2F53C4
RGBrgb(47, 83, 196)
HSLhsl(226, 61%, 48%)
HSVhsv(226, 76%, 77%)
CMYKcmyk(76%, 57.7%, 0%, 23.1%)
CIE-LABlab(39.20, 27.55, -62.69)
CIE-LCHlch(39.20, 68.48, 293.72°)
OKLaboklab(48.61% -0.012 -0.181)
OKLCHoklch(48.61% 0.181 266.2)
XYZxyz(14.2259, 10.7748, 53.5438)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53C4 #C4A02F
analogous
#2F9EC4 #2F53C4 #552FC4
triadic
#2F53C4 #C42F53 #53C42F
tetradic
#2F53C4 #C42F9E #C4A02F #2FC455
square
#2F53C4 #C42F9E #C4A02F #2FC455
split-complementary
#2F53C4 #C4552F #9EC42F
monochromatic
#172961 #233E93 #2F53C4 #5977D7 #8AA0E3

Accessibility & contrast

On white

6.66
#2F53C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2F53C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53C4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53C4#FFFFFF#000000##FFFFFF
##2F53C41.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f53c4;
/* rgb */ color: rgb(47, 83, 196);
/* oklch */ color: oklch(48.6% 0.181 266.2);
Tailwind
colors: {
  custom: {
    50: '#7e82d7',
    500: '#2f53c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f53c4;
$custom-light: #7e82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53c4",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 196
  },
  "hsl": {
    "h": 225.503,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.18137,
    "h": 266.2
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#2F53C4
secondary
#CDBB82
accent
#BE43E4
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F53C4

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

Preview Lab → · Contrast checker → · Palette generator →

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