#2F53BA#2F53BA

#2F53BA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.168 H 265.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2F53BA
RGBrgb(47, 83, 186)
HSLhsl(224, 60%, 46%)
HSVhsv(224, 75%, 73%)
CMYKcmyk(74.7%, 55.4%, 0%, 27.1%)
CIE-LABlab(38.44, 23.80, -58.09)
CIE-LCHlch(38.44, 62.78, 292.28°)
OKLaboklab(47.8% -0.0125 -0.1674)
OKLCHoklch(47.8% 0.168 265.7)
XYZxyz(13.1254, 10.3346, 47.7479)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53BA #BA962F
analogous
#2F99BA #2F53BA #502FBA
triadic
#2F53BA #BA2F53 #53BA2F
tetradic
#2F53BA #BA2F99 #BA962F #2FBA50
square
#2F53BA #BA2F99 #BA962F #2FBA50
split-complementary
#2F53BA #BA502F #99BA2F
monochromatic
#162758 #233D89 #2F53BA #5374D3 #849BE0

Accessibility & contrast

On white

6.85
#2F53BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F53BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53BA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53BA#FFFFFF#000000##FFFFFF
##2F53BA1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f53ba;
/* rgb */ color: rgb(47, 83, 186);
/* oklch */ color: oklch(47.8% 0.168 265.7);
Tailwind
colors: {
  custom: {
    50: '#7b82cf',
    500: '#2f53ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f53ba;
$custom-light: #7b82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53ba",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 186
  },
  "hsl": {
    "h": 224.46,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.16792,
    "h": 265.7
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#2F53BA
secondary
#C9B57C
accent
#BA45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2F53BA

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

Preview Lab → · Contrast checker → · Palette generator →

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