#2B3892#2B3892

#2B3892 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.148 H 271.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2B3892
RGBrgb(43, 56, 146)
HSLhsl(232, 54%, 37%)
HSVhsv(232, 71%, 57%)
CMYKcmyk(70.5%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.89, 26.20, -51.26)
CIE-LCHlch(27.89, 57.57, 297.07°)
OKLaboklab(38.87% 0.0036 -0.1478)
OKLCHoklch(38.87% 0.148 271.4)
XYZxyz(7.5970, 5.4165, 27.8337)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3892 #92852B
analogous
#2B6C92 #2B3892 #522B92
triadic
#2B3892 #922B38 #38922B
tetradic
#2B3892 #922B6C #92852B #2B9252
square
#2B3892 #922B6C #92852B #2B9252
split-complementary
#2B3892 #92522B #6C922B
monochromatic
#0F1433 #1D2663 #2B3892 #394AC1 #6673D2

Accessibility & contrast

On white

10.08
#2B3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3892
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3892#FFFFFF#000000##FFFFFF
##2B38921.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3892;
/* rgb */ color: rgb(43, 56, 146);
/* oklch */ color: oklch(38.9% 0.148 271.4);
Tailwind
colors: {
  custom: {
    50: '#726eb3',
    500: '#2b3892',
    950: '#000000',
  },
}
SCSS
$custom: #2b3892;
$custom-light: #726eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3892",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 232.427,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38866,
    "c": 0.14787,
    "h": 271.4
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#2B3892
secondary
#B8AD61
accent
#CB4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3892

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

Preview Lab → · Contrast checker → · Palette generator →

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