#2F59B1#2F59B1

#2F59B1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.148 H 262.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2F59B1
RGBrgb(47, 89, 177)
HSLhsl(221, 58%, 44%)
HSVhsv(221, 73%, 69%)
CMYKcmyk(73.4%, 49.7%, 0%, 30.6%)
CIE-LABlab(39.45, 16.46, -51.16)
CIE-LCHlch(39.45, 53.75, 287.84°)
OKLaboklab(48.36% -0.0183 -0.147)
OKLCHoklch(48.36% 0.148 262.9)
XYZxyz(12.6777, 10.9221, 43.0265)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59B1 #B1872F
analogous
#2F9AB1 #2F59B1 #462FB1
triadic
#2F59B1 #B12F59 #59B12F
tetradic
#2F59B1 #B12F9A #B1872F #2FB146
square
#2F59B1 #B12F9A #B1872F #2FB146
split-complementary
#2F59B1 #B1462F #9AB12F
monochromatic
#152850 #224181 #2F59B1 #4D78D0 #7E9CDD

Accessibility & contrast

On white

6.59
#2F59B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2F59B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59B1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59B1#FFFFFF#000000##FFFFFF
##2F59B11.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f59b1;
/* rgb */ color: rgb(47, 89, 177);
/* oklch */ color: oklch(48.4% 0.148 262.9);
Tailwind
colors: {
  custom: {
    50: '#7987c9',
    500: '#2f59b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f59b1;
$custom-light: #7987c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59b1",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 177
  },
  "hsl": {
    "h": 220.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.1481,
    "h": 262.9
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#2F59B1
secondary
#C5AC76
accent
#AF47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F59B1

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

Preview Lab → · Contrast checker → · Palette generator →

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