#2F59A5#2F59A5

#2F59A5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.131 H 261.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2F59A5
RGBrgb(47, 89, 165)
HSLhsl(219, 56%, 42%)
HSVhsv(219, 72%, 65%)
CMYKcmyk(71.5%, 46.1%, 0%, 35.3%)
CIE-LABlab(38.66, 11.92, -45.32)
CIE-LCHlch(38.66, 46.86, 284.74°)
OKLaboklab(47.51% -0.0202 -0.1298)
OKLCHoklch(47.51% 0.131 261.2)
XYZxyz(11.5338, 10.4645, 37.0020)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59A5 #A57B2F
analogous
#2F94A5 #2F59A5 #402FA5
triadic
#2F59A5 #A52F59 #59A52F
tetradic
#2F59A5 #A52F94 #A57B2F #2FA540
square
#2F59A5 #A52F94 #A57B2F #2FA540
split-complementary
#2F59A5 #A5402F #94A52F
monochromatic
#142646 #213F75 #2F59A5 #4776CB #7699D8

Accessibility & contrast

On white

6.79
#2F59A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F59A5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59A5#FFFFFF#000000##FFFFFF
##2F59A51.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#1B56A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f59a5;
/* rgb */ color: rgb(47, 89, 165);
/* oklch */ color: oklch(47.5% 0.131 261.2);
Tailwind
colors: {
  custom: {
    50: '#7687c0',
    500: '#2f59a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f59a5;
$custom-light: #7687c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59a5",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 218.644,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.13133,
    "h": 261.2
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F59A5

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

Preview Lab → · Contrast checker → · Palette generator →

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