#2B59B8#2B59B8

#2B59B8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.159 H 262.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2B59B8
RGBrgb(43, 89, 184)
HSLhsl(220, 62%, 45%)
HSVhsv(220, 77%, 72%)
CMYKcmyk(76.6%, 51.6%, 0%, 27.8%)
CIE-LABlab(39.78, 18.62, -54.75)
CIE-LCHlch(39.78, 57.83, 288.78°)
OKLaboklab(48.72% -0.0204 -0.1576)
OKLCHoklch(48.72% 0.159 262.6)
XYZxyz(13.2173, 11.1175, 46.7874)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59B8 #B88A2B
analogous
#2B9FB8 #2B59B8 #442BB8
triadic
#2B59B8 #B82B59 #59B82B
tetradic
#2B59B8 #B82B9F #B88A2B #2BB844
square
#2B59B8 #B82B9F #B88A2B #2BB844
split-complementary
#2B59B8 #B8442B #9FB82B
monochromatic
#142955 #1F4186 #2B59B8 #4B78D5 #7D9DE1

Accessibility & contrast

On white

6.51
#2B59B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2B59B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59B8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59B8#FFFFFF#000000##FFFFFF
##2B59B81.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b59b8;
/* rgb */ color: rgb(43, 89, 184);
/* oklch */ color: oklch(48.7% 0.159 262.6);
Tailwind
colors: {
  custom: {
    50: '#7987ce',
    500: '#2b59b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b59b8;
$custom-light: #7987ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59b8",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 220.426,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.15891,
    "h": 262.6
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#2B59B8
secondary
#C9AE76
accent
#B043E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B59B8

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

Preview Lab → · Contrast checker → · Palette generator →

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