#2F59C3#2F59C3

#2F59C3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.173 H 264.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2F59C3
RGBrgb(47, 89, 195)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(75.9%, 54.4%, 0%, 23.5%)
CIE-LABlab(40.72, 23.26, -59.65)
CIE-LCHlch(40.72, 64.02, 291.31°)
OKLaboklab(49.73% -0.0164 -0.1719)
OKLCHoklch(49.73% 0.173 264.6)
XYZxyz(14.5915, 11.6876, 53.1061)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59C3 #C3992F
analogous
#2FA3C3 #2F59C3 #4F2FC3
triadic
#2F59C3 #C32F59 #59C32F
tetradic
#2F59C3 #C32FA3 #C3992F #2FC34F
square
#2F59C3 #C32FA3 #C3992F #2FC34F
split-complementary
#2F59C3 #C34F2F #A3C32F
monochromatic
#172C60 #234292 #2F59C3 #587CD7 #8AA3E3

Accessibility & contrast

On white

6.29
#2F59C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2F59C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59C3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59C3#FFFFFF#000000##FFFFFF
##2F59C31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f59c3;
/* rgb */ color: rgb(47, 89, 195);
/* oklch */ color: oklch(49.7% 0.173 264.6);
Tailwind
colors: {
  custom: {
    50: '#7d87d6',
    500: '#2f59c3',
    950: '#000000',
  },
}
SCSS
$custom: #2f59c3;
$custom-light: #7d87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59c3",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 195
  },
  "hsl": {
    "h": 222.973,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.1727,
    "h": 264.6
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#2F59C3
secondary
#CDB781
accent
#B744E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F59C3

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

Preview Lab → · Contrast checker → · Palette generator →

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