#2B5DA7#2B5DA7

#2B5DA7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.131 H 258.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2B5DA7
RGBrgb(43, 93, 167)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 74%, 65%)
CMYKcmyk(74.3%, 44.3%, 0%, 34.5%)
CIE-LABlab(39.80, 9.50, -44.70)
CIE-LCHlch(39.80, 45.69, 282.00°)
OKLaboklab(48.38% -0.0265 -0.1279)
OKLCHoklch(48.38% 0.131 258.3)
XYZxyz(11.8831, 11.1310, 38.0739)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DA7 #A7752B
analogous
#2B9BA7 #2B5DA7 #372BA7
triadic
#2B5DA7 #A72B5D #5DA72B
tetradic
#2B5DA7 #A72B9B #A7752B #2BA737
square
#2B5DA7 #A72B9B #A7752B #2BA737
split-complementary
#2B5DA7 #A7372B #9BA72B
monochromatic
#122746 #1E4276 #2B5DA7 #417ACE #729CDB

Accessibility & contrast

On white

6.51
#2B5DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2B5DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DA7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DA7#FFFFFF#000000##FFFFFF
##2B5DA71.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#2158A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5da7;
/* rgb */ color: rgb(43, 93, 167);
/* oklch */ color: oklch(48.4% 0.131 258.3);
Tailwind
colors: {
  custom: {
    50: '#758ac1',
    500: '#2b5da7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5da7;
$custom-light: #758ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5da7",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 215.806,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.13064,
    "h": 258.3
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#2B5DA7
secondary
#C29F6C
accent
#A346E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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