#2B4B9B#2B4B9B

#2B4B9B is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.136 H 264.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2B4B9B
RGBrgb(43, 75, 155)
HSLhsl(223, 57%, 39%)
HSVhsv(223, 72%, 61%)
CMYKcmyk(72.3%, 51.6%, 0%, 39.2%)
CIE-LABlab(33.80, 16.80, -47.16)
CIE-LCHlch(33.80, 50.06, 289.61°)
OKLaboklab(43.52% -0.0122 -0.1355)
OKLCHoklch(43.52% 0.136 264.9)
XYZxyz(9.4267, 7.9113, 32.0342)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B9B #9B7B2B
analogous
#2B839B #2B4B9B #432B9B
triadic
#2B4B9B #9B2B4B #4B9B2B
tetradic
#2B4B9B #9B2B83 #9B7B2B #2B9B43
square
#2B4B9B #9B2B83 #9B7B2B #2B9B43
split-complementary
#2B4B9B #9B432B #839B2B
monochromatic
#101D3B #1E346B #2B4B9B #3B63C9 #6B89D6

Accessibility & contrast

On white

8.13
#2B4B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B4B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B9B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B9B#FFFFFF#000000##FFFFFF
##2B4B9B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4b9b;
/* rgb */ color: rgb(43, 75, 155);
/* oklch */ color: oklch(43.5% 0.136 264.9);
Tailwind
colors: {
  custom: {
    50: '#737cb9',
    500: '#2b4b9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b9b;
$custom-light: #737cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b9b",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 222.857,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.13605,
    "h": 264.9
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#2B4B9B
secondary
#BCA465
accent
#B448E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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