#2F57C2#2F57C2

#2F57C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.174 H 265.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2F57C2
RGBrgb(47, 87, 194)
HSLhsl(224, 61%, 47%)
HSVhsv(224, 76%, 76%)
CMYKcmyk(75.8%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.10, 24.19, -60.06)
CIE-LCHlch(40.10, 64.75, 291.94°)
OKLaboklab(49.24% -0.015 -0.1732)
OKLCHoklch(49.24% 0.174 265.1)
XYZxyz(14.3147, 11.3142, 52.4579)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F57C2 #C29A2F
analogous
#2FA1C2 #2F57C2 #502FC2
triadic
#2F57C2 #C22F57 #57C22F
tetradic
#2F57C2 #C22FA1 #C29A2F #2FC250
square
#2F57C2 #C22FA1 #C29A2F #2FC250
split-complementary
#2F57C2 #C2502F #A1C22F
monochromatic
#172B5F #234191 #2F57C2 #587AD6 #89A1E2

Accessibility & contrast

On white

6.44
#2F57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2F57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F57C2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F57C2#FFFFFF#000000##FFFFFF
##2F57C21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f57c2;
/* rgb */ color: rgb(47, 87, 194);
/* oklch */ color: oklch(49.2% 0.174 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d85d5',
    500: '#2f57c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f57c2;
$custom-light: #7d85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f57c2",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 223.673,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.17381,
    "h": 265.1
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#2F57C2
secondary
#CCB881
accent
#B844E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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