#2B58A2#2B58A2

#2B58A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.130 H 259.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2B58A2
RGBrgb(43, 88, 162)
HSLhsl(217, 58%, 40%)
HSVhsv(217, 73%, 64%)
CMYKcmyk(73.5%, 45.7%, 0%, 36.5%)
CIE-LABlab(38.02, 10.85, -44.57)
CIE-LCHlch(38.02, 45.87, 283.68°)
OKLaboklab(46.91% -0.0229 -0.1277)
OKLCHoklch(46.91% 0.13 259.8)
XYZxyz(11.0052, 10.1005, 35.5450)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58A2 #A2752B
analogous
#2B93A2 #2B58A2 #392BA2
triadic
#2B58A2 #A22B58 #58A22B
tetradic
#2B58A2 #A22B93 #A2752B #2BA239
square
#2B58A2 #A22B93 #A2752B #2BA239
split-complementary
#2B58A2 #A2392B #93A22B
monochromatic
#112341 #1E3E72 #2B58A2 #3E74CC #6F97D9

Accessibility & contrast

On white

6.95
#2B58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58A2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58A2#FFFFFF#000000##FFFFFF
##2B58A21.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#1A54A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b58a2;
/* rgb */ color: rgb(43, 88, 162);
/* oklch */ color: oklch(46.9% 0.130 259.8);
Tailwind
colors: {
  custom: {
    50: '#7486be',
    500: '#2b58a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b58a2;
$custom-light: #7486be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58a2",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 217.311,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46908,
    "c": 0.12968,
    "h": 259.8
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#2B58A2
secondary
#C09F69
accent
#A747E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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