#2B5DA5#2B5DA5

#2B5DA5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.2% C 0.128 H 257.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2B5DA5
RGBrgb(43, 93, 165)
HSLhsl(215, 59%, 41%)
HSVhsv(215, 74%, 65%)
CMYKcmyk(73.9%, 43.6%, 0%, 35.3%)
CIE-LABlab(39.68, 8.73, -43.71)
CIE-LCHlch(39.68, 44.57, 281.30°)
OKLaboklab(48.25% -0.0269 -0.125)
OKLCHoklch(48.25% 0.128 257.9)
XYZxyz(11.6997, 11.0576, 37.1077)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DA5 #A5732B
analogous
#2B9AA5 #2B5DA5 #362BA5
triadic
#2B5DA5 #A52B5D #5DA52B
tetradic
#2B5DA5 #A52B9A #A5732B #2BA536
square
#2B5DA5 #A52B9A #A5732B #2BA536
split-complementary
#2B5DA5 #A5362B #9AA52B
monochromatic
#122644 #1E4274 #2B5DA5 #407ACD #719CDA

Accessibility & contrast

On white

6.54
#2B5DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2B5DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DA5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DA5#FFFFFF#000000##FFFFFF
##2B5DA51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#2458A4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5da5;
/* rgb */ color: rgb(43, 93, 165);
/* oklch */ color: oklch(48.2% 0.128 257.9);
Tailwind
colors: {
  custom: {
    50: '#758ac0',
    500: '#2b5da5',
    950: '#000000',
  },
}
SCSS
$custom: #2b5da5;
$custom-light: #758ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5da5",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 215.41,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48247,
    "c": 0.12788,
    "h": 257.9
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#2B5DA5
secondary
#C19E6B
accent
#A246E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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