#2F53AB#2F53AB

#2F53AB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.147 H 264.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2F53AB
RGBrgb(47, 83, 171)
HSLhsl(223, 57%, 43%)
HSVhsv(223, 73%, 67%)
CMYKcmyk(72.5%, 51.5%, 0%, 32.9%)
CIE-LABlab(37.35, 18.14, -51.00)
CIE-LCHlch(37.35, 54.13, 289.58°)
OKLaboklab(46.63% -0.0139 -0.1466)
OKLCHoklch(46.63% 0.147 264.6)
XYZxyz(11.6136, 9.7299, 39.7862)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53AB #AB872F
analogous
#2F91AB #2F53AB #492FAB
triadic
#2F53AB #AB2F53 #53AB2F
tetradic
#2F53AB #AB2F91 #AB872F #2FAB49
square
#2F53AB #AB2F91 #AB872F #2FAB49
split-complementary
#2F53AB #AB492F #91AB2F
monochromatic
#15244B #223C7B #2F53AB #4A70CD #7A96DA

Accessibility & contrast

On white

7.13
#2F53AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F53AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F53AB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53AB#FFFFFF#000000##FFFFFF
##2F53AB1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f53ab;
/* rgb */ color: rgb(47, 83, 171);
/* oklch */ color: oklch(46.6% 0.147 264.6);
Tailwind
colors: {
  custom: {
    50: '#7882c5',
    500: '#2f53ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f53ab;
$custom-light: #7882c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53ab",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 171
  },
  "hsl": {
    "h": 222.581,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.14723,
    "h": 264.6
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#2F53AB
secondary
#C3AC73
accent
#B448E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F53AB

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

Preview Lab → · Contrast checker → · Palette generator →

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