#2B428F#2B428F

#2B428F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.130 H 267.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2B428F
RGBrgb(43, 66, 143)
HSLhsl(226, 54%, 36%)
HSVhsv(226, 70%, 56%)
CMYKcmyk(69.9%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.38, 18.29, -45.37)
CIE-LCHlch(30.38, 48.92, 291.96°)
OKLaboklab(40.66% -0.0052 -0.1304)
OKLCHoklch(40.66% 0.13 267.7)
XYZxyz(7.9007, 6.3924, 26.7988)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B428F #8F782B
analogous
#2B748F #2B428F #462B8F
triadic
#2B428F #8F2B42 #428F2B
tetradic
#2B428F #8F2B74 #8F782B #2B8F46
square
#2B428F #8F2B74 #8F782B #2B8F46
split-complementary
#2B428F #8F462B #748F2B
monochromatic
#0F1731 #1D2C60 #2B428F #3958BE #647DD0

Accessibility & contrast

On white

9.22
#2B428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B428F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B428F#FFFFFF#000000##FFFFFF
##2B428F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b428f;
/* rgb */ color: rgb(43, 66, 143);
/* oklch */ color: oklch(40.7% 0.130 267.7);
Tailwind
colors: {
  custom: {
    50: '#7176b0',
    500: '#2b428f',
    950: '#000000',
  },
}
SCSS
$custom: #2b428f;
$custom-light: #7176b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b428f",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 226.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.13048,
    "h": 267.7
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#2B428F
secondary
#B7A25F
accent
#BB4BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B428F

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

Preview Lab → · Contrast checker → · Palette generator →

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