#2F59A4#2F59A4

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

Color values

HEX#2F59A4
RGBrgb(47, 89, 164)
HSLhsl(218, 55%, 41%)
HSVhsv(218, 71%, 64%)
CMYKcmyk(71.3%, 45.7%, 0%, 35.7%)
CIE-LABlab(38.60, 11.55, -44.83)
CIE-LCHlch(38.60, 46.29, 284.44°)
OKLaboklab(47.44% -0.0203 -0.1283)
OKLCHoklch(47.44% 0.13 261)
XYZxyz(11.4431, 10.4282, 36.5245)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59A4 #A47A2F
analogous
#2F94A4 #2F59A4 #402FA4
triadic
#2F59A4 #A42F59 #59A42F
tetradic
#2F59A4 #A42F94 #A47A2F #2FA440
square
#2F59A4 #A42F94 #A47A2F #2FA440
split-complementary
#2F59A4 #A4402F #94A42F
monochromatic
#142545 #213F74 #2F59A4 #4676CA #7699D8

Accessibility & contrast

On white

6.81
#2F59A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2F59A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59A4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59A4#FFFFFF#000000##FFFFFF
##2F59A41.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#1C56A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f59a4;
/* rgb */ color: rgb(47, 89, 164);
/* oklch */ color: oklch(47.4% 0.130 261.0);
Tailwind
colors: {
  custom: {
    50: '#7687bf',
    500: '#2f59a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f59a4;
$custom-light: #7687bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59a4",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 218.462,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47439,
    "c": 0.12992,
    "h": 261
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#2F59A4
secondary
#C0A36F
accent
#A949DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2F59A4

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

Preview Lab → · Contrast checker → · Palette generator →

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