#2F53B3#2F53B3

#2F53B3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.158 H 265.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2F53B3
RGBrgb(47, 83, 179)
HSLhsl(224, 58%, 44%)
HSVhsv(224, 74%, 70%)
CMYKcmyk(73.7%, 53.6%, 0%, 29.8%)
CIE-LABlab(37.92, 21.16, -54.81)
CIE-LCHlch(37.92, 58.75, 291.11°)
OKLaboklab(47.25% -0.0131 -0.1578)
OKLCHoklch(47.25% 0.158 265.3)
XYZxyz(12.3994, 10.0442, 43.9243)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53B3 #B38F2F
analogous
#2F95B3 #2F53B3 #4D2FB3
triadic
#2F53B3 #B32F53 #53B32F
tetradic
#2F53B3 #B32F95 #B38F2F #2FB34D
square
#2F53B3 #B32F95 #B38F2F #2FB34D
split-complementary
#2F53B3 #B34D2F #95B32F
monochromatic
#162652 #223D83 #2F53B3 #4F72D1 #7F99DD

Accessibility & contrast

On white

6.98
#2F53B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2F53B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53B3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53B3#FFFFFF#000000##FFFFFF
##2F53B31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A60B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f53b3;
/* rgb */ color: rgb(47, 83, 179);
/* oklch */ color: oklch(47.2% 0.158 265.3);
Tailwind
colors: {
  custom: {
    50: '#7a82ca',
    500: '#2f53b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f53b3;
$custom-light: #7a82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53b3",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 179
  },
  "hsl": {
    "h": 223.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.15834,
    "h": 265.3
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#2F53B3
secondary
#C6B178
accent
#B746E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2F53B3

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

Preview Lab → · Contrast checker → · Palette generator →

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