#2B58A0#2B58A0

#2B58A0 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.127 H 259.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2B58A0
RGBrgb(43, 88, 160)
HSLhsl(217, 58%, 40%)
HSVhsv(217, 73%, 63%)
CMYKcmyk(73.1%, 45%, 0%, 37.3%)
CIE-LABlab(37.90, 10.08, -43.58)
CIE-LCHlch(37.90, 44.73, 283.03°)
OKLaboklab(46.77% -0.0232 -0.1247)
OKLCHoklch(46.77% 0.127 259.4)
XYZxyz(10.8289, 10.0299, 34.6162)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58A0 #A0732B
analogous
#2B93A0 #2B58A0 #392BA0
triadic
#2B58A0 #A02B58 #58A02B
tetradic
#2B58A0 #A02B93 #A0732B #2BA039
square
#2B58A0 #A02B93 #A0732B #2BA039
split-complementary
#2B58A0 #A0392B #93A02B
monochromatic
#112340 #1E3D70 #2B58A0 #3D74CB #6E96D8

Accessibility & contrast

On white

6.99
#2B58A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B58A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58A0
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58A0#FFFFFF#000000##FFFFFF
##2B58A01.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA3
Deuteranopia (green-blind)
#1E549F
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b58a0;
/* rgb */ color: rgb(43, 88, 160);
/* oklch */ color: oklch(46.8% 0.127 259.4);
Tailwind
colors: {
  custom: {
    50: '#7486bc',
    500: '#2b58a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b58a0;
$custom-light: #7486bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58a0",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 160
  },
  "hsl": {
    "h": 216.923,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.12688,
    "h": 259.4
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B58A0

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

Preview Lab → · Contrast checker → · Palette generator →

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