#2B5BAC#2B5BAC

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

Color values

HEX#2B5BAC
RGBrgb(43, 91, 172)
HSLhsl(218, 60%, 42%)
HSVhsv(218, 75%, 67%)
CMYKcmyk(75%, 47.1%, 0%, 32.5%)
CIE-LABlab(39.53, 12.71, -48.08)
CIE-LCHlch(39.53, 49.73, 284.81°)
OKLaboklab(48.28% -0.0238 -0.1379)
OKLCHoklch(48.28% 0.14 260.2)
XYZxyz(12.1810, 10.9730, 40.4977)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BAC #AC7C2B
analogous
#2B9CAC #2B5BAC #3B2BAC
triadic
#2B5BAC #AC2B5B #5BAC2B
tetradic
#2B5BAC #AC2B9C #AC7C2B #2BAC3B
square
#2B5BAC #AC2B9C #AC7C2B #2BAC3B
split-complementary
#2B5BAC #AC3B2B #9CAC2B
monochromatic
#13274A #1F417B #2B5BAC #4478D0 #759BDC

Accessibility & contrast

On white

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

On black

3.19
#2B5BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B5BAC#FFFFFF#000000##FFFFFF
##2B5BAC1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AF
Deuteranopia (green-blind)
#0F58AA
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5bac;
/* rgb */ color: rgb(43, 91, 172);
/* oklch */ color: oklch(48.3% 0.140 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688c5',
    500: '#2b5bac',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bac;
$custom-light: #7688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bac",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 217.674,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.13996,
    "h": 260.2
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#2B5BAC
secondary
#C4A46F
accent
#A845E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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