#2B3C9F#2B3C9F

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

Color values

HEX#2B3C9F
RGBrgb(43, 60, 159)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 73%, 62%)
CMYKcmyk(73%, 62.3%, 0%, 37.6%)
CIE-LABlab(30.03, 28.38, -55.70)
CIE-LCHlch(30.03, 62.51, 297.00°)
OKLaboklab(40.79% 0.0003 -0.1608)
OKLCHoklch(40.79% 0.161 270.1)
XYZxyz(8.8680, 6.2476, 33.5327)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C9F #9F8E2B
analogous
#2B769F #2B3C9F #542B9F
triadic
#2B3C9F #9F2B3C #3C9F2B
tetradic
#2B3C9F #9F2B76 #9F8E2B #2B9F54
square
#2B3C9F #9F2B76 #9F8E2B #2B9F54
split-complementary
#2B3C9F #9F542B #769F2B
monochromatic
#11183F #1E2A6F #2B3C9F #3D52CA #6D7DD7

Accessibility & contrast

On white

9.33
#2B3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B3C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C9F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C9F#FFFFFF#000000##FFFFFF
##2B3C9F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3c9f;
/* rgb */ color: rgb(43, 60, 159);
/* oklch */ color: oklch(40.8% 0.161 270.1);
Tailwind
colors: {
  custom: {
    50: '#7571bc',
    500: '#2b3c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c9f;
$custom-light: #7571bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c9f",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 231.207,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.16083,
    "h": 270.1
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#2B3C9F
secondary
#BEB267
accent
#CA47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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