#2B59A0#2B59A0

#2B59A0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.126 H 258.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2B59A0
RGBrgb(43, 89, 160)
HSLhsl(216, 58%, 40%)
HSVhsv(216, 73%, 63%)
CMYKcmyk(73.1%, 44.4%, 0%, 37.3%)
CIE-LABlab(38.19, 9.43, -43.11)
CIE-LCHlch(38.19, 44.12, 282.34°)
OKLaboklab(47% -0.0242 -0.1233)
OKLCHoklch(47% 0.126 258.9)
XYZxyz(10.9115, 10.1952, 34.6437)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B59A0 #A0722B
analogous
#2B94A0 #2B59A0 #372BA0
triadic
#2B59A0 #A02B59 #59A02B
tetradic
#2B59A0 #A02B94 #A0722B #2BA037
square
#2B59A0 #A02B94 #A0722B #2BA037
split-complementary
#2B59A0 #A0372B #94A02B
monochromatic
#112340 #1E3E70 #2B59A0 #3D75CB #6E97D8

Accessibility & contrast

On white

6.91
#2B59A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2B59A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B59A0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B59A0#FFFFFF#000000##FFFFFF
##2B59A01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#20559F
Tritanopia (blue-blind)
#006A74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b59a0;
/* rgb */ color: rgb(43, 89, 160);
/* oklch */ color: oklch(47.0% 0.126 258.9);
Tailwind
colors: {
  custom: {
    50: '#7487bc',
    500: '#2b59a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b59a0;
$custom-light: #7487bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b59a0",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 160
  },
  "hsl": {
    "h": 216.41,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46998,
    "c": 0.12567,
    "h": 258.9
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#2B59A0
secondary
#BF9D68
accent
#A447E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B59A0

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

Preview Lab → · Contrast checker → · Palette generator →

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