#2F59B9#2F59B9

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

Color values

HEX#2F59B9
RGBrgb(47, 89, 185)
HSLhsl(222, 59%, 45%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(74.6%, 51.9%, 0%, 27.5%)
CIE-LABlab(40.00, 19.49, -54.97)
CIE-LCHlch(40.00, 58.33, 289.52°)
OKLaboklab(48.96% -0.0173 -0.1582)
OKLCHoklch(48.96% 0.159 263.7)
XYZxyz(13.4985, 11.2504, 47.3497)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59B9 #B98F2F
analogous
#2F9EB9 #2F59B9 #4A2FB9
triadic
#2F59B9 #B92F59 #59B92F
tetradic
#2F59B9 #B92F9E #B98F2F #2FB94A
square
#2F59B9 #B92F9E #B98F2F #2FB94A
split-complementary
#2F59B9 #B94A2F #9EB92F
monochromatic
#162A57 #234288 #2F59B9 #5279D3 #839FDF

Accessibility & contrast

On white

6.46
#2F59B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2F59B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59B9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59B9#FFFFFF#000000##FFFFFF
##2F59B91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f59b9;
/* rgb */ color: rgb(47, 89, 185);
/* oklch */ color: oklch(49.0% 0.159 263.7);
Tailwind
colors: {
  custom: {
    50: '#7b87cf',
    500: '#2f59b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f59b9;
$custom-light: #7b87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59b9",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 185
  },
  "hsl": {
    "h": 221.739,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.15913,
    "h": 263.7
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F59B9

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

Preview Lab → · Contrast checker → · Palette generator →

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