#2B5DA4#2B5DA4

#2B5DA4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.127 H 257.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#2B5DA4
RGBrgb(43, 93, 164)
HSLhsl(215, 58%, 41%)
HSVhsv(215, 74%, 64%)
CMYKcmyk(73.8%, 43.3%, 0%, 35.7%)
CIE-LABlab(39.62, 8.35, -43.21)
CIE-LCHlch(39.62, 44.01, 280.94°)
OKLaboklab(48.18% -0.0271 -0.1236)
OKLCHoklch(48.18% 0.127 257.6)
XYZxyz(11.6090, 11.0214, 36.6303)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DA4 #A4722B
analogous
#2B99A4 #2B5DA4 #362BA4
triadic
#2B5DA4 #A42B5D #5DA42B
tetradic
#2B5DA4 #A42B99 #A4722B #2BA436
square
#2B5DA4 #A42B99 #A4722B #2BA436
split-complementary
#2B5DA4 #A4362B #99A42B
monochromatic
#122643 #1E4274 #2B5DA4 #3F7ACD #709CD9

Accessibility & contrast

On white

6.55
#2B5DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5DA4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DA4#FFFFFF#000000##FFFFFF
##2B5DA41.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A7
Deuteranopia (green-blind)
#2558A3
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5da4;
/* rgb */ color: rgb(43, 93, 164);
/* oklch */ color: oklch(48.2% 0.127 257.6);
Tailwind
colors: {
  custom: {
    50: '#748abf',
    500: '#2b5da4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5da4;
$custom-light: #748abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5da4",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 164
  },
  "hsl": {
    "h": 215.207,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.1265,
    "h": 257.6
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#2B5DA4
secondary
#C19D6A
accent
#A146E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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