#2B58AF#2B58AF

#2B58AF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.148 H 261.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2B58AF
RGBrgb(43, 88, 175)
HSLhsl(220, 61%, 43%)
HSVhsv(220, 75%, 69%)
CMYKcmyk(75.4%, 49.7%, 0%, 31.4%)
CIE-LABlab(38.88, 15.83, -50.92)
CIE-LCHlch(38.88, 53.32, 287.27°)
OKLaboklab(47.84% -0.0208 -0.1463)
OKLCHoklch(47.84% 0.148 261.9)
XYZxyz(12.2211, 10.5868, 41.9485)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B58AF #AF822B
analogous
#2B9AAF #2B58AF #402BAF
triadic
#2B58AF #AF2B58 #58AF2B
tetradic
#2B58AF #AF2B9A #AF822B #2BAF40
square
#2B58AF #AF2B9A #AF822B #2BAF40
split-complementary
#2B58AF #AF402B #9AAF2B
monochromatic
#13274D #1F3F7E #2B58AF #4675D1 #779ADE

Accessibility & contrast

On white

6.74
#2B58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2B58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B58AF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B58AF#FFFFFF#000000##FFFFFF
##2B58AF1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b58af;
/* rgb */ color: rgb(43, 88, 175);
/* oklch */ color: oklch(47.8% 0.148 261.9);
Tailwind
colors: {
  custom: {
    50: '#7786c7',
    500: '#2b58af',
    950: '#000000',
  },
}
SCSS
$custom: #2b58af;
$custom-light: #7786c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b58af",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 219.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.14779,
    "h": 261.9
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#2B58AF
secondary
#C5A870
accent
#AD44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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