#2F59B8#2F59B8

#2F59B8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.158 H 263.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2F59B8
RGBrgb(47, 89, 184)
HSLhsl(222, 59%, 45%)
HSVhsv(222, 74%, 72%)
CMYKcmyk(74.5%, 51.6%, 0%, 27.8%)
CIE-LABlab(39.93, 19.11, -54.50)
CIE-LCHlch(39.93, 57.76, 289.33°)
OKLaboklab(48.88% -0.0174 -0.1568)
OKLCHoklch(48.88% 0.158 263.7)
XYZxyz(13.3933, 11.2083, 46.7957)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59B8 #B88E2F
analogous
#2F9DB8 #2F59B8 #4A2FB8
triadic
#2F59B8 #B82F59 #59B82F
tetradic
#2F59B8 #B82F9D #B88E2F #2FB84A
square
#2F59B8 #B82F9D #B88E2F #2FB84A
split-complementary
#2F59B8 #B84A2F #9DB82F
monochromatic
#162A57 #234187 #2F59B8 #5279D3 #829FDF

Accessibility & contrast

On white

6.48
#2F59B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2F59B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59B8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59B8#FFFFFF#000000##FFFFFF
##2F59B81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f59b8;
/* rgb */ color: rgb(47, 89, 184);
/* oklch */ color: oklch(48.9% 0.158 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a87ce',
    500: '#2f59b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f59b8;
$custom-light: #7a87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59b8",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 221.606,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.15776,
    "h": 263.7
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#2F59B8
secondary
#C8B07B
accent
#B245E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F59B8

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

Preview Lab → · Contrast checker → · Palette generator →

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