#2B58C2#2B58C2

#2B58C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.174 H 263.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2B58C2
RGBrgb(43, 88, 194)
HSLhsl(222, 64%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(77.8%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.22, 23.09, -59.87)
CIE-LCHlch(40.22, 64.17, 291.09°)
OKLaboklab(49.29% -0.0187 -0.1727)
OKLCHoklch(49.29% 0.174 263.8)
XYZxyz(14.2201, 11.3864, 52.4768)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58C2 #C2952B
analogous
#2BA4C2 #2B58C2 #4A2BC2
triadic
#2B58C2 #C22B58 #58C22B
tetradic
#2B58C2 #C22BA4 #C2952B #2BC24A
square
#2B58C2 #C22BA4 #C2952B #2BC24A
split-complementary
#2B58C2 #C24A2B #A4C22B
monochromatic
#152B5E #204190 #2B58C2 #527AD9 #84A0E4

Accessibility & contrast

On white

6.41
#2B58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2B58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58C2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58C2#FFFFFF#000000##FFFFFF
##2B58C21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b58c2;
/* rgb */ color: rgb(43, 88, 194);
/* oklch */ color: oklch(49.3% 0.174 263.8);
Tailwind
colors: {
  custom: {
    50: '#7b86d5',
    500: '#2b58c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b58c2;
$custom-light: #7b86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58c2",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 222.119,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49291,
    "c": 0.17367,
    "h": 263.8
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#2B58C2
secondary
#CDB57C
accent
#B541E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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