#2B5CAB#2B5CAB

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

Color values

HEX#2B5CAB
RGBrgb(43, 92, 171)
HSLhsl(217, 60%, 42%)
HSVhsv(217, 75%, 67%)
CMYKcmyk(74.9%, 46.2%, 0%, 32.9%)
CIE-LABlab(39.76, 11.68, -47.13)
CIE-LCHlch(39.76, 48.55, 283.92°)
OKLaboklab(48.43% -0.0248 -0.1351)
OKLCHoklch(48.43% 0.137 259.6)
XYZxyz(12.1714, 11.1068, 40.0225)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CAB #AB7A2B
analogous
#2B9CAB #2B5CAB #3A2BAB
triadic
#2B5CAB #AB2B5C #5CAB2B
tetradic
#2B5CAB #AB2B9C #AB7A2B #2BAB3A
square
#2B5CAB #AB2B9C #AB7A2B #2BAB3A
split-complementary
#2B5CAB #AB3A2B #9CAB2B
monochromatic
#122749 #1F427A #2B5CAB #4379D0 #749CDC

Accessibility & contrast

On white

6.52
#2B5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2B5CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CAB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CAB#FFFFFF#000000##FFFFFF
##2B5CAB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5cab;
/* rgb */ color: rgb(43, 92, 171);
/* oklch */ color: oklch(48.4% 0.137 259.6);
Tailwind
colors: {
  custom: {
    50: '#7689c4',
    500: '#2b5cab',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cab;
$custom-light: #7689c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cab",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 217.031,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.13737,
    "h": 259.6
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#2B5CAB
secondary
#C4A36E
accent
#A645E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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