#2B5DA8#2B5DA8

#2B5DA8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.4% C 0.132 H 258.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2B5DA8
RGBrgb(43, 93, 168)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 74%, 66%)
CMYKcmyk(74.4%, 44.6%, 0%, 34.1%)
CIE-LABlab(39.86, 9.88, -45.19)
CIE-LCHlch(39.86, 46.26, 282.33°)
OKLaboklab(48.45% -0.0263 -0.1294)
OKLCHoklch(48.45% 0.132 258.5)
XYZxyz(11.9759, 11.1681, 38.5627)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DA8 #A8762B
analogous
#2B9CA8 #2B5DA8 #382BA8
triadic
#2B5DA8 #A82B5D #5DA82B
tetradic
#2B5DA8 #A82B9C #A8762B #2BA838
square
#2B5DA8 #A82B9C #A8762B #2BA838
split-complementary
#2B5DA8 #A8382B #9CA82B
monochromatic
#122747 #1F4277 #2B5DA8 #427ACF #729CDB

Accessibility & contrast

On white

6.49
#2B5DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5DA8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DA8#FFFFFF#000000##FFFFFF
##2B5DA81.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#1F59A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5da8;
/* rgb */ color: rgb(43, 93, 168);
/* oklch */ color: oklch(48.4% 0.132 258.5);
Tailwind
colors: {
  custom: {
    50: '#758ac2',
    500: '#2b5da8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5da8;
$custom-light: #758ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5da8",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 168
  },
  "hsl": {
    "h": 216,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.13203,
    "h": 258.5
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#2B5DA8
secondary
#C2A06C
accent
#A445E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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