#2F59B4#2F59B4

#2F59B4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.152 H 263.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2F59B4
RGBrgb(47, 89, 180)
HSLhsl(221, 59%, 45%)
HSVhsv(221, 74%, 71%)
CMYKcmyk(73.9%, 50.6%, 0%, 29.4%)
CIE-LABlab(39.65, 17.60, -52.60)
CIE-LCHlch(39.65, 55.47, 288.50°)
OKLaboklab(48.58% -0.0179 -0.1512)
OKLCHoklch(48.58% 0.152 263.2)
XYZxyz(12.9800, 11.0430, 44.6186)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59B4 #B48A2F
analogous
#2F9BB4 #2F59B4 #482FB4
triadic
#2F59B4 #B42F59 #59B42F
tetradic
#2F59B4 #B42F9B #B48A2F #2FB448
square
#2F59B4 #B42F9B #B48A2F #2FB448
split-complementary
#2F59B4 #B4482F #9BB42F
monochromatic
#162953 #224183 #2F59B4 #4F78D1 #809DDE

Accessibility & contrast

On white

6.54
#2F59B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2F59B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59B4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59B4#FFFFFF#000000##FFFFFF
##2F59B41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f59b4;
/* rgb */ color: rgb(47, 89, 180);
/* oklch */ color: oklch(48.6% 0.152 263.2);
Tailwind
colors: {
  custom: {
    50: '#7a87cb',
    500: '#2f59b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f59b4;
$custom-light: #7a87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59b4",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 221.053,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.15225,
    "h": 263.2
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#2F59B4
secondary
#C7AE78
accent
#B146E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F59B4

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

Preview Lab → · Contrast checker → · Palette generator →

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