#2F56C3#2F56C3

#2F56C3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.176 H 265.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2F56C3
RGBrgb(47, 86, 195)
HSLhsl(224, 61%, 47%)
HSVhsv(224, 76%, 76%)
CMYKcmyk(75.9%, 55.9%, 0%, 23.5%)
CIE-LABlab(39.91, 25.22, -60.95)
CIE-LCHlch(39.91, 65.96, 292.48°)
OKLaboklab(49.12% -0.0142 -0.1758)
OKLCHoklch(49.12% 0.176 265.4)
XYZxyz(14.3469, 11.1984, 53.0246)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F56C3 #C39C2F
analogous
#2FA0C3 #2F56C3 #522FC3
triadic
#2F56C3 #C32F56 #56C32F
tetradic
#2F56C3 #C32FA0 #C39C2F #2FC352
square
#2F56C3 #C32FA0 #C39C2F #2FC352
split-complementary
#2F56C3 #C3522F #A0C32F
monochromatic
#172B60 #234092 #2F56C3 #587AD7 #8AA1E3

Accessibility & contrast

On white

6.48
#2F56C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2F56C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F56C3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F56C3#FFFFFF#000000##FFFFFF
##2F56C31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f56c3;
/* rgb */ color: rgb(47, 86, 195);
/* oklch */ color: oklch(49.1% 0.176 265.4);
Tailwind
colors: {
  custom: {
    50: '#7d85d6',
    500: '#2f56c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f56c3;
$custom-light: #7d85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f56c3",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 224.189,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.17637,
    "h": 265.4
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#2F56C3
secondary
#CDB981
accent
#BA44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F56C3

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

Preview Lab → · Contrast checker → · Palette generator →

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