#2F57C3#2F57C3

#2F57C3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.175 H 265.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2F57C3
RGBrgb(47, 87, 195)
HSLhsl(224, 61%, 47%)
HSVhsv(224, 76%, 76%)
CMYKcmyk(75.9%, 55.4%, 0%, 23.5%)
CIE-LABlab(40.18, 24.57, -60.52)
CIE-LCHlch(40.18, 65.31, 292.09°)
OKLaboklab(49.32% -0.0149 -0.1745)
OKLCHoklch(49.32% 0.175 265.1)
XYZxyz(14.4273, 11.3592, 53.0514)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F57C3 #C39B2F
analogous
#2FA1C3 #2F57C3 #512FC3
triadic
#2F57C3 #C32F57 #57C32F
tetradic
#2F57C3 #C32FA1 #C39B2F #2FC351
square
#2F57C3 #C32FA1 #C39B2F #2FC351
split-complementary
#2F57C3 #C3512F #A1C32F
monochromatic
#172B60 #234192 #2F57C3 #587BD7 #8AA2E3

Accessibility & contrast

On white

6.42
#2F57C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2F57C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F57C3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F57C3#FFFFFF#000000##FFFFFF
##2F57C31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f57c3;
/* rgb */ color: rgb(47, 87, 195);
/* oklch */ color: oklch(49.3% 0.175 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d85d6',
    500: '#2f57c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f57c3;
$custom-light: #7d85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f57c3",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 223.784,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49322,
    "c": 0.17515,
    "h": 265.1
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#2F57C3
secondary
#CDB881
accent
#B944E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F57C3

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

Preview Lab → · Contrast checker → · Palette generator →

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