#2F59AB#2F59AB

#2F59AB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.140 H 262.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2F59AB
RGBrgb(47, 89, 171)
HSLhsl(220, 57%, 43%)
HSVhsv(220, 73%, 67%)
CMYKcmyk(72.5%, 48%, 0%, 32.9%)
CIE-LABlab(39.05, 14.19, -48.26)
CIE-LCHlch(39.05, 50.30, 286.39°)
OKLaboklab(47.93% -0.0192 -0.1384)
OKLCHoklch(47.93% 0.14 262.1)
XYZxyz(12.0927, 10.6881, 39.9459)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59AB #AB812F
analogous
#2F97AB #2F59AB #432FAB
triadic
#2F59AB #AB2F59 #59AB2F
tetradic
#2F59AB #AB2F97 #AB812F #2FAB43
square
#2F59AB #AB2F97 #AB812F #2FAB43
split-complementary
#2F59AB #AB432F #97AB2F
monochromatic
#15274B #22407B #2F59AB #4A76CD #7A9BDA

Accessibility & contrast

On white

6.69
#2F59AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F59AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59AB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59AB#FFFFFF#000000##FFFFFF
##2F59AB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#0C57A9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f59ab;
/* rgb */ color: rgb(47, 89, 171);
/* oklch */ color: oklch(47.9% 0.140 262.1);
Tailwind
colors: {
  custom: {
    50: '#7887c4',
    500: '#2f59ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f59ab;
$custom-light: #7887c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59ab",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 171
  },
  "hsl": {
    "h": 219.677,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.13974,
    "h": 262.1
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#2F59AB
secondary
#C3A873
accent
#AC48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F59AB

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

Preview Lab → · Contrast checker → · Palette generator →

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