#2F59AC#2F59AC

#2F59AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.141 H 262.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2F59AC
RGBrgb(47, 89, 172)
HSLhsl(220, 57%, 43%)
HSVhsv(220, 73%, 67%)
CMYKcmyk(72.7%, 48.3%, 0%, 32.5%)
CIE-LABlab(39.12, 14.57, -48.75)
CIE-LCHlch(39.12, 50.88, 286.64°)
OKLaboklab(48% -0.019 -0.1398)
OKLCHoklch(48% 0.141 262.3)
XYZxyz(12.1884, 10.7264, 40.4498)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59AC #AC822F
analogous
#2F97AC #2F59AC #432FAC
triadic
#2F59AC #AC2F59 #59AC2F
tetradic
#2F59AC #AC2F97 #AC822F #2FAC43
square
#2F59AC #AC2F97 #AC822F #2FAC43
split-complementary
#2F59AC #AC432F #97AC2F
monochromatic
#15274C #22407C #2F59AC #4B77CE #7B9BDB

Accessibility & contrast

On white

6.68
#2F59AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F59AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59AC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59AC#FFFFFF#000000##FFFFFF
##2F59AC1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#0857AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f59ac;
/* rgb */ color: rgb(47, 89, 172);
/* oklch */ color: oklch(48.0% 0.141 262.3);
Tailwind
colors: {
  custom: {
    50: '#7887c5',
    500: '#2f59ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f59ac;
$custom-light: #7887c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59ac",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 219.84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.14114,
    "h": 262.3
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#2F59AC
secondary
#C3A874
accent
#AD47E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F59AC

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

Preview Lab → · Contrast checker → · Palette generator →

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