#2B4BAF#2B4BAF

#2B4BAF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.164 H 266.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2B4BAF
RGBrgb(43, 75, 175)
HSLhsl(225, 61%, 43%)
HSVhsv(225, 75%, 69%)
CMYKcmyk(75.4%, 57.1%, 0%, 31.4%)
CIE-LABlab(35.28, 24.44, -56.74)
CIE-LCHlch(35.28, 61.78, 293.30°)
OKLaboklab(45.11% -0.0105 -0.1637)
OKLCHoklch(45.11% 0.164 266.3)
XYZxyz(11.2475, 8.6397, 41.6240)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4BAF #AF8F2B
analogous
#2B8DAF #2B4BAF #4D2BAF
triadic
#2B4BAF #AF2B4B #4BAF2B
tetradic
#2B4BAF #AF2B8D #AF8F2B #2BAF4D
square
#2B4BAF #AF2B8D #AF8F2B #2BAF4D
split-complementary
#2B4BAF #AF4D2B #8DAF2B
monochromatic
#13214D #1F367E #2B4BAF #4668D1 #7790DE

Accessibility & contrast

On white

7.70
#2B4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2B4BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4BAF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4BAF#FFFFFF#000000##FFFFFF
##2B4BAF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4baf;
/* rgb */ color: rgb(43, 75, 175);
/* oklch */ color: oklch(45.1% 0.164 266.3);
Tailwind
colors: {
  custom: {
    50: '#787cc8',
    500: '#2b4baf',
    950: '#000000',
  },
}
SCSS
$custom: #2b4baf;
$custom-light: #787cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4baf",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 225.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45113,
    "c": 0.16401,
    "h": 266.3
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#2B4BAF
secondary
#C5B170
accent
#BD44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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