#2F59A9#2F59A9

#2F59A9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.137 H 261.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2F59A9
RGBrgb(47, 89, 169)
HSLhsl(219, 56%, 42%)
HSVhsv(219, 72%, 66%)
CMYKcmyk(72.2%, 47.3%, 0%, 33.7%)
CIE-LABlab(38.92, 13.44, -47.29)
CIE-LCHlch(38.92, 49.16, 285.86°)
OKLaboklab(47.79% -0.0195 -0.1355)
OKLCHoklch(47.79% 0.137 261.8)
XYZxyz(11.9035, 10.6124, 38.9495)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59A9 #A97F2F
analogous
#2F96A9 #2F59A9 #422FA9
triadic
#2F59A9 #A92F59 #59A92F
tetradic
#2F59A9 #A92F96 #A97F2F #2FA942
square
#2F59A9 #A92F96 #A97F2F #2FA942
split-complementary
#2F59A9 #A9422F #96A92F
monochromatic
#142749 #224079 #2F59A9 #4976CC #799ADA

Accessibility & contrast

On white

6.72
#2F59A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F59A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59A9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59A9#FFFFFF#000000##FFFFFF
##2F59A91.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#1256A7
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f59a9;
/* rgb */ color: rgb(47, 89, 169);
/* oklch */ color: oklch(47.8% 0.137 261.8);
Tailwind
colors: {
  custom: {
    50: '#7787c3',
    500: '#2f59a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f59a9;
$custom-light: #7787c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59a9",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 169
  },
  "hsl": {
    "h": 219.344,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47788,
    "c": 0.13694,
    "h": 261.8
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#2F59A9
secondary
#C2A672
accent
#AC48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2F59A9

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

Preview Lab → · Contrast checker → · Palette generator →

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