#2B58AA#2B58AA

#2B58AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.141 H 261.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2B58AA
RGBrgb(43, 88, 170)
HSLhsl(219, 60%, 42%)
HSVhsv(219, 75%, 67%)
CMYKcmyk(74.7%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.54, 13.91, -48.50)
CIE-LCHlch(38.54, 50.45, 286.01°)
OKLaboklab(47.47% -0.0215 -0.1392)
OKLCHoklch(47.47% 0.141 261.2)
XYZxyz(11.7391, 10.3940, 39.4100)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58AA #AA7D2B
analogous
#2B98AA #2B58AA #3E2BAA
triadic
#2B58AA #AA2B58 #58AA2B
tetradic
#2B58AA #AA2B98 #AA7D2B #2BAA3E
square
#2B58AA #AA2B98 #AA7D2B #2BAA3E
split-complementary
#2B58AA #AA3E2B #98AA2B
monochromatic
#122548 #1F3F79 #2B58AA #4375CF #7499DC

Accessibility & contrast

On white

6.82
#2B58AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2B58AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58AA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58AA#FFFFFF#000000##FFFFFF
##2B58AA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#0455A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b58aa;
/* rgb */ color: rgb(43, 88, 170);
/* oklch */ color: oklch(47.5% 0.141 261.2);
Tailwind
colors: {
  custom: {
    50: '#7686c4',
    500: '#2b58aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b58aa;
$custom-light: #7686c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58aa",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 218.74,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47474,
    "c": 0.14085,
    "h": 261.2
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#2B58AA
secondary
#C3A56E
accent
#AB45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B58AA

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

Preview Lab → · Contrast checker → · Palette generator →

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