#2F59C2#2F59C2

#2F59C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.171 H 264.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2F59C2
RGBrgb(47, 89, 194)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(75.8%, 54.1%, 0%, 23.9%)
CIE-LABlab(40.64, 22.89, -59.18)
CIE-LCHlch(40.64, 63.46, 291.14°)
OKLaboklab(49.65% -0.0165 -0.1706)
OKLCHoklch(49.65% 0.171 264.5)
XYZxyz(14.4788, 11.6425, 52.5126)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59C2 #C2982F
analogous
#2FA3C2 #2F59C2 #4E2FC2
triadic
#2F59C2 #C22F59 #59C22F
tetradic
#2F59C2 #C22FA3 #C2982F #2FC24E
square
#2F59C2 #C22FA3 #C2982F #2FC24E
split-complementary
#2F59C2 #C24E2F #A3C22F
monochromatic
#172C5F #234291 #2F59C2 #587CD6 #89A3E2

Accessibility & contrast

On white

6.31
#2F59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2F59C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59C2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59C2#FFFFFF#000000##FFFFFF
##2F59C21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f59c2;
/* rgb */ color: rgb(47, 89, 194);
/* oklch */ color: oklch(49.6% 0.171 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d87d5',
    500: '#2f59c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f59c2;
$custom-light: #7d87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59c2",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 222.857,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.17135,
    "h": 264.5
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#2F59C2
secondary
#CCB781
accent
#B644E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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