#2F59BB#2F59BB

#2F59BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.162 H 263.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2F59BB
RGBrgb(47, 89, 187)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(74.9%, 52.4%, 0%, 26.7%)
CIE-LABlab(40.14, 20.25, -55.92)
CIE-LCHlch(40.14, 59.47, 289.91°)
OKLaboklab(49.11% -0.0171 -0.1609)
OKLCHoklch(49.11% 0.162 263.9)
XYZxyz(13.7111, 11.3354, 48.4694)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59BB #BB912F
analogous
#2F9FBB #2F59BB #4B2FBB
triadic
#2F59BB #BB2F59 #59BB2F
tetradic
#2F59BB #BB2F9F #BB912F #2FBB4B
square
#2F59BB #BB2F9F #BB912F #2FBB4B
split-complementary
#2F59BB #BB4B2F #9FBB2F
monochromatic
#162A59 #23428A #2F59BB #537AD4 #84A0E0

Accessibility & contrast

On white

6.43
#2F59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2F59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59BB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59BB#FFFFFF#000000##FFFFFF
##2F59BB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f59bb;
/* rgb */ color: rgb(47, 89, 187);
/* oklch */ color: oklch(49.1% 0.162 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b87d0',
    500: '#2f59bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f59bb;
$custom-light: #7b87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59bb",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 222,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.16186,
    "h": 263.9
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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