#2F59B2#2F59B2

#2F59B2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.149 H 263.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2F59B2
RGBrgb(47, 89, 178)
HSLhsl(221, 58%, 44%)
HSVhsv(221, 74%, 70%)
CMYKcmyk(73.6%, 50%, 0%, 30.2%)
CIE-LABlab(39.52, 16.84, -51.64)
CIE-LCHlch(39.52, 54.32, 288.06°)
OKLaboklab(48.44% -0.0182 -0.1484)
OKLCHoklch(48.44% 0.149 263)
XYZxyz(12.7777, 10.9621, 43.5533)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59B2 #B2882F
analogous
#2F9BB2 #2F59B2 #462FB2
triadic
#2F59B2 #B22F59 #59B22F
tetradic
#2F59B2 #B22F9B #B2882F #2FB246
square
#2F59B2 #B22F9B #B2882F #2FB246
split-complementary
#2F59B2 #B2462F #9BB22F
monochromatic
#152951 #224182 #2F59B2 #4E78D0 #7E9DDD

Accessibility & contrast

On white

6.58
#2F59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59B2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59B2#FFFFFF#000000##FFFFFF
##2F59B21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f59b2;
/* rgb */ color: rgb(47, 89, 178);
/* oklch */ color: oklch(48.4% 0.149 263.0);
Tailwind
colors: {
  custom: {
    50: '#7987ca',
    500: '#2f59b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f59b2;
$custom-light: #7987ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59b2",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 220.763,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.14948,
    "h": 263
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#2F59B2
secondary
#C6AD77
accent
#B046E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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