#2B4B9F#2B4B9F

#2B4B9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.142 H 265.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2B4B9F
RGBrgb(43, 75, 159)
HSLhsl(223, 57%, 40%)
HSVhsv(223, 73%, 62%)
CMYKcmyk(73%, 52.8%, 0%, 37.6%)
CIE-LABlab(34.08, 18.33, -49.11)
CIE-LCHlch(34.08, 52.42, 290.47°)
OKLaboklab(43.83% -0.0117 -0.1412)
OKLCHoklch(43.83% 0.142 265.3)
XYZxyz(9.7681, 8.0479, 33.8328)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B9F #9F7F2B
analogous
#2B859F #2B4B9F #452B9F
triadic
#2B4B9F #9F2B4B #4B9F2B
tetradic
#2B4B9F #9F2B85 #9F7F2B #2B9F45
square
#2B4B9F #9F2B85 #9F7F2B #2B9F45
split-complementary
#2B4B9F #9F452B #859F2B
monochromatic
#111E3F #1E346F #2B4B9F #3D64CA #6D8AD7

Accessibility & contrast

On white

8.05
#2B4B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B4B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B9F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B9F#FFFFFF#000000##FFFFFF
##2B4B9F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4b9f;
/* rgb */ color: rgb(43, 75, 159);
/* oklch */ color: oklch(43.8% 0.142 265.3);
Tailwind
colors: {
  custom: {
    50: '#747cbc',
    500: '#2b4b9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b9f;
$custom-light: #747cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b9f",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 223.448,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43829,
    "c": 0.14174,
    "h": 265.3
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#2B4B9F
secondary
#BEA667
accent
#B647E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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