#2B3C9E#2B3C9E

#2B3C9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.159 H 270.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2B3C9E
RGBrgb(43, 60, 158)
HSLhsl(231, 57%, 39%)
HSVhsv(231, 73%, 62%)
CMYKcmyk(72.8%, 62%, 0%, 38%)
CIE-LABlab(29.94, 28.01, -55.23)
CIE-LCHlch(29.94, 61.93, 296.89°)
OKLaboklab(40.7% 0.0003 -0.1595)
OKLCHoklch(40.7% 0.159 270.1)
XYZxyz(8.7816, 6.2130, 33.0776)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C9E #9E8D2B
analogous
#2B769E #2B3C9E #532B9E
triadic
#2B3C9E #9E2B3C #3C9E2B
tetradic
#2B3C9E #9E2B76 #9E8D2B #2B9E53
square
#2B3C9E #9E2B76 #9E8D2B #2B9E53
split-complementary
#2B3C9E #9E532B #769E2B
monochromatic
#11173E #1E2A6E #2B3C9E #3C51CA #6C7CD7

Accessibility & contrast

On white

9.36
#2B3C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C9E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C9E#FFFFFF#000000##FFFFFF
##2B3C9E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3c9e;
/* rgb */ color: rgb(43, 60, 158);
/* oklch */ color: oklch(40.7% 0.159 270.1);
Tailwind
colors: {
  custom: {
    50: '#7571bb',
    500: '#2b3c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c9e;
$custom-light: #7571bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c9e",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 231.13,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.15946,
    "h": 270.1
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#2B3C9E
secondary
#BEB167
accent
#CA47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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