#2F59C9#2F59C9

#2F59C9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.181 H 264.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2F59C9
RGBrgb(47, 89, 201)
HSLhsl(224, 62%, 49%)
HSVhsv(224, 77%, 79%)
CMYKcmyk(76.6%, 55.7%, 0%, 21.2%)
CIE-LABlab(41.16, 25.52, -62.40)
CIE-LCHlch(41.16, 67.42, 292.24°)
OKLaboklab(50.2% -0.016 -0.18)
OKLCHoklch(50.2% 0.181 264.9)
XYZxyz(15.2836, 11.9644, 56.7509)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59C9 #C99F2F
analogous
#2FA6C9 #2F59C9 #522FC9
triadic
#2F59C9 #C92F59 #59C92F
tetradic
#2F59C9 #C92FA6 #C99F2F #2FC952
square
#2F59C9 #C92FA6 #C99F2F #2FC952
split-complementary
#2F59C9 #C9522F #A6C92F
monochromatic
#182D66 #234397 #2F59C9 #5C7ED9 #8EA5E5

Accessibility & contrast

On white

6.19
#2F59C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2F59C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59C9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59C9#FFFFFF#000000##FFFFFF
##2F59C91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f59c9;
/* rgb */ color: rgb(47, 89, 201);
/* oklch */ color: oklch(50.2% 0.181 264.9);
Tailwind
colors: {
  custom: {
    50: '#7e87da',
    500: '#2f59c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f59c9;
$custom-light: #7e87da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59c9",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 201
  },
  "hsl": {
    "h": 223.636,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.18074,
    "h": 264.9
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#2F59C9
secondary
#CFBB85
accent
#B943E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2F59C9

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

Preview Lab → · Contrast checker → · Palette generator →

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