#2B428C#2B428C

#2B428C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.126 H 267.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2B428C
RGBrgb(43, 66, 140)
HSLhsl(226, 53%, 36%)
HSVhsv(226, 69%, 55%)
CMYKcmyk(69.3%, 52.9%, 0%, 45.1%)
CIE-LABlab(30.16, 17.15, -43.88)
CIE-LCHlch(30.16, 47.11, 291.35°)
OKLaboklab(40.42% -0.0055 -0.126)
OKLCHoklch(40.42% 0.126 267.5)
XYZxyz(7.6765, 6.3027, 25.6179)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B428C #8C752B
analogous
#2B728C #2B428C #442B8C
triadic
#2B428C #8C2B42 #428C2B
tetradic
#2B428C #8C2B72 #8C752B #2B8C44
square
#2B428C #8C2B72 #8C752B #2B8C44
split-complementary
#2B428C #8C442B #728C2B
monochromatic
#0E162E #1D2C5D #2B428C #3958BB #627CCF

Accessibility & contrast

On white

9.29
#2B428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B428C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B428C#FFFFFF#000000##FFFFFF
##2B428C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b428c;
/* rgb */ color: rgb(43, 66, 140);
/* oklch */ color: oklch(40.4% 0.126 267.5);
Tailwind
colors: {
  custom: {
    50: '#7076ae',
    500: '#2b428c',
    950: '#000000',
  },
}
SCSS
$custom: #2b428c;
$custom-light: #7076ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b428c",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 225.773,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.1261,
    "h": 267.5
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#2B428C
secondary
#B5A05E
accent
#BA4BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B428C

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

Preview Lab → · Contrast checker → · Palette generator →

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