#2F59A3#2F59A3

#2F59A3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.129 H 260.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2F59A3
RGBrgb(47, 89, 163)
HSLhsl(218, 55%, 41%)
HSVhsv(218, 71%, 64%)
CMYKcmyk(71.2%, 45.4%, 0%, 36.1%)
CIE-LABlab(38.54, 11.17, -44.33)
CIE-LCHlch(38.54, 45.72, 284.14°)
OKLaboklab(47.37% -0.0205 -0.1269)
OKLCHoklch(47.37% 0.129 260.8)
XYZxyz(11.3532, 10.3923, 36.0508)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59A3 #A3792F
analogous
#2F93A3 #2F59A3 #3F2FA3
triadic
#2F59A3 #A32F59 #59A32F
tetradic
#2F59A3 #A32F93 #A3792F #2FA33F
square
#2F59A3 #A32F93 #A3792F #2FA33F
split-complementary
#2F59A3 #A33F2F #93A32F
monochromatic
#142544 #213F73 #2F59A3 #4675CA #7599D7

Accessibility & contrast

On white

6.82
#2F59A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F59A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59A3
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59A3#FFFFFF#000000##FFFFFF
##2F59A31.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#1E56A1
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f59a3;
/* rgb */ color: rgb(47, 89, 163);
/* oklch */ color: oklch(47.4% 0.129 260.8);
Tailwind
colors: {
  custom: {
    50: '#7687bf',
    500: '#2f59a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f59a3;
$custom-light: #7687bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59a3",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 218.276,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.12851,
    "h": 260.8
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#2F59A3
secondary
#BFA26F
accent
#A849DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2F59A3

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

Preview Lab → · Contrast checker → · Palette generator →

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