#2B5DAD#2B5DAD

#2B5DAD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.139 H 259.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2B5DAD
RGBrgb(43, 93, 173)
HSLhsl(217, 60%, 42%)
HSVhsv(217, 75%, 68%)
CMYKcmyk(75.1%, 46.2%, 0%, 32.2%)
CIE-LABlab(40.18, 11.79, -47.64)
CIE-LCHlch(40.18, 49.08, 283.90°)
OKLaboklab(48.79% -0.0254 -0.1366)
OKLCHoklch(48.79% 0.139 259.5)
XYZxyz(12.4507, 11.3580, 41.0632)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DAD #AD7B2B
analogous
#2B9EAD #2B5DAD #3A2BAD
triadic
#2B5DAD #AD2B5D #5DAD2B
tetradic
#2B5DAD #AD2B9E #AD7B2B #2BAD3A
square
#2B5DAD #AD2B9E #AD7B2B #2BAD3A
split-complementary
#2B5DAD #AD3A2B #9EAD2B
monochromatic
#13284B #1F437C #2B5DAD #457AD1 #769DDD

Accessibility & contrast

On white

6.42
#2B5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2B5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DAD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DAD#FFFFFF#000000##FFFFFF
##2B5DAD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B0
Deuteranopia (green-blind)
#1659AB
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5dad;
/* rgb */ color: rgb(43, 93, 173);
/* oklch */ color: oklch(48.8% 0.139 259.5);
Tailwind
colors: {
  custom: {
    50: '#768ac6',
    500: '#2b5dad',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dad;
$custom-light: #768ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dad",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 216.923,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.13893,
    "h": 259.5
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#2B5DAD
secondary
#C4A46F
accent
#A644E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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