#2B5CB3#2B5CB3

#2B5CB3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.148 H 260.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB3
RGBrgb(43, 92, 179)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 76%, 70%)
CMYKcmyk(76%, 48.6%, 0%, 29.8%)
CIE-LABlab(40.28, 14.74, -51.01)
CIE-LCHlch(40.28, 53.09, 286.12°)
OKLaboklab(49% -0.0235 -0.1465)
OKLCHoklch(49% 0.148 260.9)
XYZxyz(12.9572, 11.4211, 44.1607)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB3 #B3822B
analogous
#2BA0B3 #2B5CB3 #3E2BB3
triadic
#2B5CB3 #B32B5C #5CB32B
tetradic
#2B5CB3 #B32BA0 #B3822B #2BB33E
square
#2B5CB3 #B32BA0 #B3822B #2BB33E
split-complementary
#2B5CB3 #B33E2B #A0B32B
monochromatic
#132950 #1F4382 #2B5CB3 #487AD3 #799EDF

Accessibility & contrast

On white

6.39
#2B5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2B5CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CB3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB3#FFFFFF#000000##FFFFFF
##2B5CB31.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5cb3;
/* rgb */ color: rgb(43, 92, 179);
/* oklch */ color: oklch(49.0% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#7889ca',
    500: '#2b5cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb3;
$custom-light: #7889ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb3",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 218.382,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49,
    "c": 0.14839,
    "h": 260.9
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#2B5CB3
secondary
#C7A973
accent
#AA43E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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