#2F53C3#2F53C3

#2F53C3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.180 H 266.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2F53C3
RGBrgb(47, 83, 195)
HSLhsl(225, 61%, 47%)
HSVhsv(225, 76%, 76%)
CMYKcmyk(75.9%, 57.4%, 0%, 23.5%)
CIE-LABlab(39.12, 27.17, -62.24)
CIE-LCHlch(39.12, 67.91, 293.59°)
OKLaboklab(48.53% -0.0121 -0.1796)
OKLCHoklch(48.53% 0.18 266.2)
XYZxyz(14.1124, 10.7294, 52.9464)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F53C3 #C39F2F
analogous
#2F9DC3 #2F53C3 #552FC3
triadic
#2F53C3 #C32F53 #53C32F
tetradic
#2F53C3 #C32F9D #C39F2F #2FC355
square
#2F53C3 #C32F9D #C39F2F #2FC355
split-complementary
#2F53C3 #C3552F #9DC32F
monochromatic
#172960 #233E92 #2F53C3 #5877D7 #8A9FE3

Accessibility & contrast

On white

6.67
#2F53C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F53C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F53C3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F53C3#FFFFFF#000000##FFFFFF
##2F53C31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f53c3;
/* rgb */ color: rgb(47, 83, 195);
/* oklch */ color: oklch(48.5% 0.180 266.2);
Tailwind
colors: {
  custom: {
    50: '#7d82d6',
    500: '#2f53c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f53c3;
$custom-light: #7d82d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f53c3",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 195
  },
  "hsl": {
    "h": 225.405,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.18003,
    "h": 266.2
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#2F53C3
secondary
#CDBA81
accent
#BD44E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2F53C3

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

Preview Lab → · Contrast checker → · Palette generator →

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