#2F59A6#2F59A6

#2F59A6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.133 H 261.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2F59A6
RGBrgb(47, 89, 166)
HSLhsl(219, 56%, 42%)
HSVhsv(219, 72%, 65%)
CMYKcmyk(71.7%, 46.4%, 0%, 34.9%)
CIE-LABlab(38.73, 12.30, -45.81)
CIE-LCHlch(38.73, 47.44, 285.03°)
OKLaboklab(47.58% -0.02 -0.1312)
OKLCHoklch(47.58% 0.133 261.3)
XYZxyz(11.6251, 10.5010, 37.4832)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59A6 #A67C2F
analogous
#2F95A6 #2F59A6 #412FA6
triadic
#2F59A6 #A62F59 #59A62F
tetradic
#2F59A6 #A62F95 #A67C2F #2FA641
square
#2F59A6 #A62F95 #A67C2F #2FA641
split-complementary
#2F59A6 #A6412F #95A62F
monochromatic
#142647 #213F76 #2F59A6 #4776CB #7799D8

Accessibility & contrast

On white

6.77
#2F59A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2F59A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59A6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59A6#FFFFFF#000000##FFFFFF
##2F59A61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#1956A4
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f59a6;
/* rgb */ color: rgb(47, 89, 166);
/* oklch */ color: oklch(47.6% 0.133 261.3);
Tailwind
colors: {
  custom: {
    50: '#7787c1',
    500: '#2f59a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f59a6;
$custom-light: #7787c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59a6",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 166
  },
  "hsl": {
    "h": 218.824,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.13273,
    "h": 261.3
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#2F59A6
secondary
#C1A470
accent
#AA49DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2F59A6

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

Preview Lab → · Contrast checker → · Palette generator →

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