#2B4B9D#2B4B9D

#2B4B9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.139 H 265.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2B4B9D
RGBrgb(43, 75, 157)
HSLhsl(223, 57%, 39%)
HSVhsv(223, 73%, 62%)
CMYKcmyk(72.6%, 52.2%, 0%, 38.4%)
CIE-LABlab(33.94, 17.56, -48.14)
CIE-LCHlch(33.94, 51.24, 290.05°)
OKLaboklab(43.68% -0.0119 -0.1384)
OKLCHoklch(43.68% 0.139 265.1)
XYZxyz(9.5960, 7.9791, 32.9261)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B9D #9D7D2B
analogous
#2B849D #2B4B9D #442B9D
triadic
#2B4B9D #9D2B4B #4B9D2B
tetradic
#2B4B9D #9D2B84 #9D7D2B #2B9D44
square
#2B4B9D #9D2B84 #9D7D2B #2B9D44
split-complementary
#2B4B9D #9D442B #849D2B
monochromatic
#111D3D #1E346D #2B4B9D #3C64CA #6C8AD7

Accessibility & contrast

On white

8.09
#2B4B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2B4B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B9D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B9D#FFFFFF#000000##FFFFFF
##2B4B9D1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4b9d;
/* rgb */ color: rgb(43, 75, 157);
/* oklch */ color: oklch(43.7% 0.139 265.1);
Tailwind
colors: {
  custom: {
    50: '#747cba',
    500: '#2b4b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b9d;
$custom-light: #747cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b9d",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 223.158,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.13889,
    "h": 265.1
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#2B4B9D
secondary
#BDA566
accent
#B548E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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