#2F59C1#2F59C1

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

Color values

HEX#2F59C1
RGBrgb(47, 89, 193)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 76%)
CMYKcmyk(75.6%, 53.9%, 0%, 24.3%)
CIE-LABlab(40.57, 22.51, -58.72)
CIE-LCHlch(40.57, 62.89, 290.98°)
OKLaboklab(49.57% -0.0166 -0.1692)
OKLCHoklch(49.57% 0.17 264.4)
XYZxyz(14.3669, 11.5977, 51.9231)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59C1 #C1972F
analogous
#2FA2C1 #2F59C1 #4E2FC1
triadic
#2F59C1 #C12F59 #59C12F
tetradic
#2F59C1 #C12FA2 #C1972F #2FC14E
square
#2F59C1 #C12FA2 #C1972F #2FC14E
split-complementary
#2F59C1 #C14E2F #A2C12F
monochromatic
#172C5F #234290 #2F59C1 #577CD6 #88A2E2

Accessibility & contrast

On white

6.33
#2F59C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2F59C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59C1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59C1#FFFFFF#000000##FFFFFF
##2F59C11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0167C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f59c1;
/* rgb */ color: rgb(47, 89, 193);
/* oklch */ color: oklch(49.6% 0.170 264.4);
Tailwind
colors: {
  custom: {
    50: '#7c87d4',
    500: '#2f59c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f59c1;
$custom-light: #7c87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59c1",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 222.74,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49571,
    "c": 0.17001,
    "h": 264.4
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F59C1

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

Preview Lab → · Contrast checker → · Palette generator →

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