#2F53B7#2F53B7

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

Color values

HEX#2F53B7
RGBrgb(47, 83, 183)
HSLhsl(224, 59%, 45%)
HSVhsv(224, 74%, 72%)
CMYKcmyk(74.3%, 54.6%, 0%, 28.2%)
CIE-LABlab(38.21, 22.67, -56.69)
CIE-LCHlch(38.21, 61.06, 291.80°)
OKLaboklab(47.56% -0.0128 -0.1633)
OKLCHoklch(47.56% 0.164 265.5)
XYZxyz(12.8098, 10.2084, 46.0859)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B7 #B7932F
analogous
#2F97B7 #2F53B7 #4F2FB7
triadic
#2F53B7 #B72F53 #53B72F
tetradic
#2F53B7 #B72F97 #B7932F #2FB74F
square
#2F53B7 #B72F97 #B7932F #2FB74F
split-complementary
#2F53B7 #B74F2F #97B72F
monochromatic
#162756 #223D86 #2F53B7 #5173D2 #829ADF

Accessibility & contrast

On white

6.90
#2F53B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F53B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53B7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B7#FFFFFF#000000##FFFFFF
##2F53B71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f53b7;
/* rgb */ color: rgb(47, 83, 183);
/* oklch */ color: oklch(47.6% 0.164 265.5);
Tailwind
colors: {
  custom: {
    50: '#7b82cd',
    500: '#2f53b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b7;
$custom-light: #7b82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b7",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 183
  },
  "hsl": {
    "h": 224.118,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.16383,
    "h": 265.5
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F53B7

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

Preview Lab → · Contrast checker → · Palette generator →

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