#2F53BE#2F53BE

#2F53BE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.173 H 265.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2F53BE
RGBrgb(47, 83, 190)
HSLhsl(225, 60%, 46%)
HSVhsv(225, 75%, 75%)
CMYKcmyk(75.3%, 56.3%, 0%, 25.5%)
CIE-LABlab(38.74, 25.30, -59.94)
CIE-LCHlch(38.74, 65.07, 292.88°)
OKLaboklab(48.12% -0.0123 -0.1729)
OKLCHoklch(48.12% 0.173 265.9)
XYZxyz(13.5565, 10.5071, 50.0188)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53BE #BE9A2F
analogous
#2F9BBE #2F53BE #532FBE
triadic
#2F53BE #BE2F53 #53BE2F
tetradic
#2F53BE #BE2F9B #BE9A2F #2FBE53
square
#2F53BE #BE2F9B #BE9A2F #2FBE53
split-complementary
#2F53BE #BE532F #9BBE2F
monochromatic
#17285C #233E8D #2F53BE #5575D5 #869DE1

Accessibility & contrast

On white

6.77
#2F53BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2F53BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53BE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53BE#FFFFFF#000000##FFFFFF
##2F53BE1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f53be;
/* rgb */ color: rgb(47, 83, 190);
/* oklch */ color: oklch(48.1% 0.173 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c82d2',
    500: '#2f53be',
    950: '#000000',
  },
}
SCSS
$custom: #2f53be;
$custom-light: #7c82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53be",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 190
  },
  "hsl": {
    "h": 224.895,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.17334,
    "h": 265.9
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#2F53BE
secondary
#CBB77E
accent
#BB44E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F53BE

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

Preview Lab → · Contrast checker → · Palette generator →

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