#2B59A8#2B59A8

#2B59A8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.137 H 260.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2B59A8
RGBrgb(43, 89, 168)
HSLhsl(218, 59%, 41%)
HSVhsv(218, 74%, 66%)
CMYKcmyk(74.4%, 47%, 0%, 34.1%)
CIE-LABlab(38.70, 12.49, -47.06)
CIE-LCHlch(38.70, 48.69, 284.86°)
OKLaboklab(47.55% -0.0227 -0.1349)
OKLCHoklch(47.55% 0.137 260.4)
XYZxyz(11.6340, 10.4842, 38.4487)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A8 #A87A2B
analogous
#2B98A8 #2B59A8 #3C2BA8
triadic
#2B59A8 #A82B59 #59A82B
tetradic
#2B59A8 #A82B98 #A87A2B #2BA83C
square
#2B59A8 #A82B98 #A87A2B #2BA83C
split-complementary
#2B59A8 #A83C2B #98A82B
monochromatic
#122547 #1F3F77 #2B59A8 #4276CF #7299DB

Accessibility & contrast

On white

6.78
#2B59A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2B59A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59A8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A8#FFFFFF#000000##FFFFFF
##2B59A81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AB
Deuteranopia (green-blind)
#1156A6
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b59a8;
/* rgb */ color: rgb(43, 89, 168);
/* oklch */ color: oklch(47.6% 0.137 260.4);
Tailwind
colors: {
  custom: {
    50: '#7587c2',
    500: '#2b59a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a8;
$custom-light: #7587c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a8",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 168
  },
  "hsl": {
    "h": 217.92,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47552,
    "c": 0.13684,
    "h": 260.4
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#2B59A8
secondary
#C2A36C
accent
#A945E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B59A8

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

Preview Lab → · Contrast checker → · Palette generator →

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