#2B428B#2B428B

#2B428B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.125 H 267.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2B428B
RGBrgb(43, 66, 139)
HSLhsl(226, 53%, 36%)
HSVhsv(226, 69%, 55%)
CMYKcmyk(69.1%, 52.5%, 0%, 45.5%)
CIE-LABlab(30.09, 16.76, -43.38)
CIE-LCHlch(30.09, 46.50, 291.13°)
OKLaboklab(40.35% -0.0056 -0.1245)
OKLCHoklch(40.35% 0.125 267.4)
XYZxyz(7.6031, 6.2734, 25.2313)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B428B #8B742B
analogous
#2B728B #2B428B #442B8B
triadic
#2B428B #8B2B42 #428B2B
tetradic
#2B428B #8B2B72 #8B742B #2B8B44
square
#2B428B #8B2B72 #8B742B #2B8B44
split-complementary
#2B428B #8B442B #728B2B
monochromatic
#0E162E #1D2C5C #2B428B #3958BA #627CCE

Accessibility & contrast

On white

9.31
#2B428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B428B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B428B#FFFFFF#000000##FFFFFF
##2B428B1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b428b;
/* rgb */ color: rgb(43, 66, 139);
/* oklch */ color: oklch(40.3% 0.125 267.4);
Tailwind
colors: {
  custom: {
    50: '#7076ad',
    500: '#2b428b',
    950: '#000000',
  },
}
SCSS
$custom: #2b428b;
$custom-light: #7076ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b428b",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 225.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40345,
    "c": 0.12464,
    "h": 267.4
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#2B428B
secondary
#B5A05D
accent
#BA4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B428B

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

Preview Lab → · Contrast checker → · Palette generator →

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