#2B3893#2B3893

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

Color values

HEX#2B3893
RGBrgb(43, 56, 147)
HSLhsl(233, 55%, 37%)
HSVhsv(233, 71%, 58%)
CMYKcmyk(70.7%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.97, 26.57, -51.74)
CIE-LCHlch(27.97, 58.16, 297.18°)
OKLaboklab(38.95% 0.0036 -0.1492)
OKLCHoklch(38.95% 0.149 271.4)
XYZxyz(7.6751, 5.4478, 28.2452)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3893 #93862B
analogous
#2B6C93 #2B3893 #522B93
triadic
#2B3893 #932B38 #38932B
tetradic
#2B3893 #932B6C #93862B #2B9352
square
#2B3893 #932B6C #93862B #2B9352
split-complementary
#2B3893 #93522B #6C932B
monochromatic
#0F1434 #1D2664 #2B3893 #394AC2 #6674D2

Accessibility & contrast

On white

10.05
#2B3893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B3893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3893
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3893#FFFFFF#000000##FFFFFF
##2B38931.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3893;
/* rgb */ color: rgb(43, 56, 147);
/* oklch */ color: oklch(39.0% 0.149 271.4);
Tailwind
colors: {
  custom: {
    50: '#736eb3',
    500: '#2b3893',
    950: '#000000',
  },
}
SCSS
$custom: #2b3893;
$custom-light: #736eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3893",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 232.5,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38954,
    "c": 0.14927,
    "h": 271.4
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#2B3893
secondary
#B9AE61
accent
#CC4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3893

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

Preview Lab → · Contrast checker → · Palette generator →

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