#2B5DA3#2B5DA3

#2B5DA3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.1% C 0.125 H 257.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2B5DA3
RGBrgb(43, 93, 163)
HSLhsl(215, 58%, 40%)
HSVhsv(215, 74%, 64%)
CMYKcmyk(73.6%, 42.9%, 0%, 36.1%)
CIE-LABlab(39.56, 7.97, -42.71)
CIE-LCHlch(39.56, 43.45, 280.57°)
OKLaboklab(48.11% -0.0273 -0.1221)
OKLCHoklch(48.11% 0.125 257.4)
XYZxyz(11.5191, 10.9854, 36.1565)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DA3 #A3712B
analogous
#2B99A3 #2B5DA3 #352BA3
triadic
#2B5DA3 #A32B5D #5DA32B
tetradic
#2B5DA3 #A32B99 #A3712B #2BA335
square
#2B5DA3 #A32B99 #A3712B #2BA335
split-complementary
#2B5DA3 #A3352B #99A32B
monochromatic
#112642 #1E4173 #2B5DA3 #3F7ACC #6F9BD9

Accessibility & contrast

On white

6.57
#2B5DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B5DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DA3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DA3#FFFFFF#000000##FFFFFF
##2B5DA31.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A6
Deuteranopia (green-blind)
#2658A2
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5da3;
/* rgb */ color: rgb(43, 93, 163);
/* oklch */ color: oklch(48.1% 0.125 257.4);
Tailwind
colors: {
  custom: {
    50: '#748abf',
    500: '#2b5da3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5da3;
$custom-light: #748abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5da3",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 163
  },
  "hsl": {
    "h": 215,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.12511,
    "h": 257.4
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#2B5DA3
secondary
#C09C6A
accent
#A146E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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