#2F59B3#2F59B3

#2F59B3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.151 H 263.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2F59B3
RGBrgb(47, 89, 179)
HSLhsl(221, 58%, 44%)
HSVhsv(221, 74%, 70%)
CMYKcmyk(73.7%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.58, 17.22, -52.12)
CIE-LCHlch(39.58, 54.89, 288.28°)
OKLaboklab(48.51% -0.018 -0.1498)
OKLCHoklch(48.51% 0.151 263.1)
XYZxyz(12.8785, 11.0024, 44.0840)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59B3 #B3892F
analogous
#2F9BB3 #2F59B3 #472FB3
triadic
#2F59B3 #B32F59 #59B32F
tetradic
#2F59B3 #B32F9B #B3892F #2FB347
square
#2F59B3 #B32F9B #B3892F #2FB347
split-complementary
#2F59B3 #B3472F #9BB32F
monochromatic
#162952 #224183 #2F59B3 #4F78D1 #7F9DDD

Accessibility & contrast

On white

6.56
#2F59B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F59B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59B3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59B3#FFFFFF#000000##FFFFFF
##2F59B31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f59b3;
/* rgb */ color: rgb(47, 89, 179);
/* oklch */ color: oklch(48.5% 0.151 263.1);
Tailwind
colors: {
  custom: {
    50: '#7987ca',
    500: '#2f59b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f59b3;
$custom-light: #7987ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59b3",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 220.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.15086,
    "h": 263.1
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#2F59B3
secondary
#C6AD78
accent
#B046E2
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F59B3

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

Preview Lab → · Contrast checker → · Palette generator →

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