#2B5AAB#2B5AAB

#2B5AAB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.140 H 260.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2B5AAB
RGBrgb(43, 90, 171)
HSLhsl(218, 60%, 42%)
HSVhsv(218, 75%, 67%)
CMYKcmyk(74.9%, 47.4%, 0%, 32.9%)
CIE-LABlab(39.18, 12.98, -48.06)
CIE-LCHlch(39.18, 49.78, 285.12°)
OKLaboklab(47.99% -0.0231 -0.1379)
OKLCHoklch(47.99% 0.14 260.5)
XYZxyz(12.0005, 10.7649, 39.9656)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AAB #AB7C2B
analogous
#2B9AAB #2B5AAB #3C2BAB
triadic
#2B5AAB #AB2B5A #5AAB2B
tetradic
#2B5AAB #AB2B9A #AB7C2B #2BAB3C
square
#2B5AAB #AB2B9A #AB7C2B #2BAB3C
split-complementary
#2B5AAB #AB3C2B #9AAB2B
monochromatic
#122749 #1F407A #2B5AAB #4377D0 #749ADC

Accessibility & contrast

On white

6.66
#2B5AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2B5AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AAB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AAB#FFFFFF#000000##FFFFFF
##2B5AAB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AE
Deuteranopia (green-blind)
#0D57A9
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5aab;
/* rgb */ color: rgb(43, 90, 171);
/* oklch */ color: oklch(48.0% 0.140 260.5);
Tailwind
colors: {
  custom: {
    50: '#7688c4',
    500: '#2b5aab',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aab;
$custom-light: #7688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aab",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 217.969,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.13979,
    "h": 260.5
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#2B5AAB
secondary
#C4A46E
accent
#A945E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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