#2F59C0#2F59C0

#2F59C0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.169 H 264.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2F59C0
RGBrgb(47, 89, 192)
HSLhsl(223, 61%, 47%)
HSVhsv(223, 76%, 75%)
CMYKcmyk(75.5%, 53.6%, 0%, 24.7%)
CIE-LABlab(40.50, 22.13, -58.26)
CIE-LCHlch(40.50, 62.32, 290.80°)
OKLaboklab(49.49% -0.0167 -0.1678)
OKLCHoklch(49.49% 0.169 264.3)
XYZxyz(14.2557, 11.5533, 51.3376)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59C0 #C0962F
analogous
#2FA1C0 #2F59C0 #4E2FC0
triadic
#2F59C0 #C02F59 #59C02F
tetradic
#2F59C0 #C02FA1 #C0962F #2FC04E
square
#2F59C0 #C02FA1 #C0962F #2FC04E
split-complementary
#2F59C0 #C04E2F #A1C02F
monochromatic
#172B5E #23428F #2F59C0 #567BD6 #88A2E2

Accessibility & contrast

On white

6.34
#2F59C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2F59C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59C0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59C0#FFFFFF#000000##FFFFFF
##2F59C01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0566C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f59c0;
/* rgb */ color: rgb(47, 89, 192);
/* oklch */ color: oklch(49.5% 0.169 264.3);
Tailwind
colors: {
  custom: {
    50: '#7c87d4',
    500: '#2f59c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f59c0;
$custom-light: #7c87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59c0",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 192
  },
  "hsl": {
    "h": 222.621,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.16865,
    "h": 264.3
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F59C0

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

Preview Lab → · Contrast checker → · Palette generator →

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