#2F53A1#2F53A1

#2F53A1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.133 H 263.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2F53A1
RGBrgb(47, 83, 161)
HSLhsl(221, 55%, 41%)
HSVhsv(221, 71%, 63%)
CMYKcmyk(70.8%, 48.4%, 0%, 36.9%)
CIE-LABlab(36.67, 14.36, -46.13)
CIE-LCHlch(36.67, 48.31, 287.29°)
OKLaboklab(45.9% -0.0152 -0.1322)
OKLCHoklch(45.9% 0.133 263.4)
XYZxyz(10.6963, 9.3630, 34.9548)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53A1 #A17D2F
analogous
#2F8CA1 #2F53A1 #442FA1
triadic
#2F53A1 #A12F53 #53A12F
tetradic
#2F53A1 #A12F8C #A17D2F #2FA144
square
#2F53A1 #A12F8C #A17D2F #2FA144
split-complementary
#2F53A1 #A1442F #8CA12F
monochromatic
#132242 #213B72 #2F53A1 #456EC9 #7493D6

Accessibility & contrast

On white

7.31
#2F53A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F53A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F53A1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53A1#FFFFFF#000000##FFFFFF
##2F53A11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#0C519F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f53a1;
/* rgb */ color: rgb(47, 83, 161);
/* oklch */ color: oklch(45.9% 0.133 263.4);
Tailwind
colors: {
  custom: {
    50: '#7682bd',
    500: '#2f53a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f53a1;
$custom-light: #7682bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53a1",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 161
  },
  "hsl": {
    "h": 221.053,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.13312,
    "h": 263.4
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#2F53A1
secondary
#BEA56E
accent
#AF4ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2F53A1

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

Preview Lab → · Contrast checker → · Palette generator →

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