#2F59BA#2F59BA

#2F59BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.160 H 263.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2F59BA
RGBrgb(47, 89, 186)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(74.7%, 52.2%, 0%, 27.1%)
CIE-LABlab(40.07, 19.87, -55.45)
CIE-LCHlch(40.07, 58.90, 289.72°)
OKLaboklab(49.03% -0.0172 -0.1596)
OKLCHoklch(49.03% 0.16 263.8)
XYZxyz(13.6044, 11.2928, 47.9076)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59BA #BA902F
analogous
#2F9EBA #2F59BA #4B2FBA
triadic
#2F59BA #BA2F59 #59BA2F
tetradic
#2F59BA #BA2F9E #BA902F #2FBA4B
square
#2F59BA #BA2F9E #BA902F #2FBA4B
split-complementary
#2F59BA #BA4B2F #9EBA2F
monochromatic
#162A58 #234289 #2F59BA #537AD3 #849FE0

Accessibility & contrast

On white

6.44
#2F59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2F59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59BA#FFFFFF#000000##FFFFFF
##2F59BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f59ba;
/* rgb */ color: rgb(47, 89, 186);
/* oklch */ color: oklch(49.0% 0.160 263.8);
Tailwind
colors: {
  custom: {
    50: '#7b87cf',
    500: '#2f59ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f59ba;
$custom-light: #7b87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59ba",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 221.871,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49033,
    "c": 0.16049,
    "h": 263.8
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#2F59BA
secondary
#C9B27C
accent
#B345E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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