#2B5BAF#2B5BAF

#2B5BAF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.144 H 260.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2B5BAF
RGBrgb(43, 91, 175)
HSLhsl(218, 61%, 43%)
HSVhsv(218, 75%, 69%)
CMYKcmyk(75.4%, 48%, 0%, 31.4%)
CIE-LABlab(39.73, 13.86, -49.54)
CIE-LCHlch(39.73, 51.44, 285.63°)
OKLaboklab(48.49% -0.0233 -0.1422)
OKLCHoklch(48.49% 0.144 260.7)
XYZxyz(12.4724, 11.0895, 42.0323)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BAF #AF7F2B
analogous
#2B9DAF #2B5BAF #3D2BAF
triadic
#2B5BAF #AF2B5B #5BAF2B
tetradic
#2B5BAF #AF2B9D #AF7F2B #2BAF3D
square
#2B5BAF #AF2B9D #AF7F2B #2BAF3D
split-complementary
#2B5BAF #AF3D2B #9DAF2B
monochromatic
#13284D #1F417E #2B5BAF #4679D1 #779CDE

Accessibility & contrast

On white

6.53
#2B5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5BAF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BAF#FFFFFF#000000##FFFFFF
##2B5BAF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#0458AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5baf;
/* rgb */ color: rgb(43, 91, 175);
/* oklch */ color: oklch(48.5% 0.144 260.7);
Tailwind
colors: {
  custom: {
    50: '#7788c7',
    500: '#2b5baf',
    950: '#000000',
  },
}
SCSS
$custom: #2b5baf;
$custom-light: #7788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5baf",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 218.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.14411,
    "h": 260.7
  },
  "luminance": 0.11091
}

Semantic roles & 50–950 ramp

primary
#2B5BAF
secondary
#C5A670
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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