#2F57C0#2F57C0

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

Color values

HEX#2F57C0
RGBrgb(47, 87, 192)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 75%)
CMYKcmyk(75.5%, 54.7%, 0%, 24.7%)
CIE-LABlab(39.96, 23.44, -59.13)
CIE-LCHlch(39.96, 63.61, 291.62°)
OKLaboklab(49.08% -0.0151 -0.1704)
OKLCHoklch(49.08% 0.171 264.9)
XYZxyz(14.0916, 11.2249, 51.2829)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F57C0 #C0982F
analogous
#2FA0C0 #2F57C0 #502FC0
triadic
#2F57C0 #C02F57 #57C02F
tetradic
#2F57C0 #C02FA0 #C0982F #2FC050
square
#2F57C0 #C02FA0 #C0982F #2FC050
split-complementary
#2F57C0 #C0502F #A0C02F
monochromatic
#172A5E #23418F #2F57C0 #567AD6 #88A0E2

Accessibility & contrast

On white

6.47
#2F57C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2F57C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F57C0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F57C0#FFFFFF#000000##FFFFFF
##2F57C01.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f57c0;
/* rgb */ color: rgb(47, 87, 192);
/* oklch */ color: oklch(49.1% 0.171 264.9);
Tailwind
colors: {
  custom: {
    50: '#7c85d4',
    500: '#2f57c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f57c0;
$custom-light: #7c85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f57c0",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 192
  },
  "hsl": {
    "h": 223.448,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49084,
    "c": 0.17111,
    "h": 264.9
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F57C0

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

Preview Lab → · Contrast checker → · Palette generator →

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