#2F59BE#2F59BE

#2F59BE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.166 H 264.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2F59BE
RGBrgb(47, 89, 190)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 75%)
CMYKcmyk(75.3%, 53.2%, 0%, 25.5%)
CIE-LABlab(40.35, 21.38, -57.32)
CIE-LCHlch(40.35, 61.18, 290.45°)
OKLaboklab(49.34% -0.0168 -0.1651)
OKLCHoklch(49.34% 0.166 264.2)
XYZxyz(14.0356, 11.4652, 50.1785)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59BE #BE942F
analogous
#2FA1BE #2F59BE #4D2FBE
triadic
#2F59BE #BE2F59 #59BE2F
tetradic
#2F59BE #BE2FA1 #BE942F #2FBE4D
square
#2F59BE #BE2FA1 #BE942F #2FBE4D
split-complementary
#2F59BE #BE4D2F #A1BE2F
monochromatic
#172B5C #23428D #2F59BE #557BD5 #86A1E1

Accessibility & contrast

On white

6.38
#2F59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2F59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59BE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59BE#FFFFFF#000000##FFFFFF
##2F59BE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f59be;
/* rgb */ color: rgb(47, 89, 190);
/* oklch */ color: oklch(49.3% 0.166 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c87d2',
    500: '#2f59be',
    950: '#000000',
  },
}
SCSS
$custom: #2f59be;
$custom-light: #7c87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59be",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 222.378,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.16595,
    "h": 264.2
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#2F59BE
secondary
#CBB47E
accent
#B544E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2F59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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