#2F53A2#2F53A2

#2F53A2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.135 H 263.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F53A2
RGBrgb(47, 83, 162)
HSLhsl(221, 55%, 41%)
HSVhsv(221, 71%, 64%)
CMYKcmyk(71%, 48.8%, 0%, 36.5%)
CIE-LABlab(36.74, 14.73, -46.62)
CIE-LCHlch(36.74, 48.89, 287.54°)
OKLaboklab(45.97% -0.0151 -0.1337)
OKLCHoklch(45.97% 0.135 263.6)
XYZxyz(10.7848, 9.3984, 35.4211)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53A2 #A27E2F
analogous
#2F8CA2 #2F53A2 #442FA2
triadic
#2F53A2 #A22F53 #53A22F
tetradic
#2F53A2 #A22F8C #A27E2F #2FA244
square
#2F53A2 #A22F8C #A27E2F #2FA244
split-complementary
#2F53A2 #A2442F #8CA22F
monochromatic
#132243 #213B73 #2F53A2 #456EC9 #7593D7

Accessibility & contrast

On white

7.29
#2F53A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F53A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F53A2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53A2#FFFFFF#000000##FFFFFF
##2F53A21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f53a2;
/* rgb */ color: rgb(47, 83, 162);
/* oklch */ color: oklch(46.0% 0.135 263.6);
Tailwind
colors: {
  custom: {
    50: '#7682be',
    500: '#2f53a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f53a2;
$custom-light: #7682be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53a2",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 221.217,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.13455,
    "h": 263.6
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#2F53A2
secondary
#BFA56E
accent
#B049DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2F53A2

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

Preview Lab → · Contrast checker → · Palette generator →

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