#2B3C9D#2B3C9D

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

Color values

HEX#2B3C9D
RGBrgb(43, 60, 157)
HSLhsl(231, 57%, 39%)
HSVhsv(231, 73%, 62%)
CMYKcmyk(72.6%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.86, 27.63, -54.77)
CIE-LCHlch(29.86, 61.34, 296.77°)
OKLaboklab(40.61% 0.0003 -0.1581)
OKLCHoklch(40.61% 0.158 270.1)
XYZxyz(8.6958, 6.1787, 32.6261)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C9D #9D8C2B
analogous
#2B759D #2B3C9D #532B9D
triadic
#2B3C9D #9D2B3C #3C9D2B
tetradic
#2B3C9D #9D2B75 #9D8C2B #2B9D53
square
#2B3C9D #9D2B75 #9D8C2B #2B9D53
split-complementary
#2B3C9D #9D532B #759D2B
monochromatic
#11173D #1E2A6D #2B3C9D #3C51CA #6C7CD7

Accessibility & contrast

On white

9.39
#2B3C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3C9D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C9D#FFFFFF#000000##FFFFFF
##2B3C9D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3c9d;
/* rgb */ color: rgb(43, 60, 157);
/* oklch */ color: oklch(40.6% 0.158 270.1);
Tailwind
colors: {
  custom: {
    50: '#7571bb',
    500: '#2b3c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c9d;
$custom-light: #7571bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c9d",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 231.053,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.15808,
    "h": 270.1
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#2B3C9D
secondary
#BDB066
accent
#C948E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B3C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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