#2F59B6#2F59B6

#2F59B6 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.155 H 263.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2F59B6
RGBrgb(47, 89, 182)
HSLhsl(221, 59%, 45%)
HSVhsv(221, 74%, 71%)
CMYKcmyk(74.2%, 51.1%, 0%, 28.6%)
CIE-LABlab(39.79, 18.36, -53.55)
CIE-LCHlch(39.79, 56.61, 288.92°)
OKLaboklab(48.73% -0.0177 -0.154)
OKLCHoklch(48.73% 0.155 263.5)
XYZxyz(13.1852, 11.1251, 45.6994)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59B6 #B68C2F
analogous
#2F9DB6 #2F59B6 #482FB6
triadic
#2F59B6 #B62F59 #59B62F
tetradic
#2F59B6 #B62F9D #B68C2F #2FB648
square
#2F59B6 #B62F9D #B68C2F #2FB648
split-complementary
#2F59B6 #B6482F #9DB62F
monochromatic
#162955 #224185 #2F59B6 #5079D2 #819EDE

Accessibility & contrast

On white

6.51
#2F59B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2F59B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59B6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59B6#FFFFFF#000000##FFFFFF
##2F59B61.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F64B9
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f59b6;
/* rgb */ color: rgb(47, 89, 182);
/* oklch */ color: oklch(48.7% 0.155 263.5);
Tailwind
colors: {
  custom: {
    50: '#7a87cc',
    500: '#2f59b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f59b6;
$custom-light: #7a87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59b6",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 182
  },
  "hsl": {
    "h": 221.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.155,
    "h": 263.5
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#2F59B6
secondary
#C7AF79
accent
#B146E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2F59B6

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

Preview Lab → · Contrast checker → · Palette generator →

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