#2B3F96#2B3F96

#2B3F96 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.144 H 269.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2B3F96
RGBrgb(43, 63, 150)
HSLhsl(229, 55%, 38%)
HSVhsv(229, 71%, 59%)
CMYKcmyk(71.3%, 58%, 0%, 41.2%)
CIE-LABlab(30.08, 22.99, -50.14)
CIE-LCHlch(30.08, 55.16, 294.63°)
OKLaboklab(40.6% -0.0021 -0.1444)
OKLCHoklch(40.6% 0.144 269.2)
XYZxyz(8.2769, 6.2698, 29.6222)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F96 #96822B
analogous
#2B7496 #2B3F96 #4C2B96
triadic
#2B3F96 #962B3F #3F962B
tetradic
#2B3F96 #962B74 #96822B #2B964C
square
#2B3F96 #962B74 #96822B #2B964C
split-complementary
#2B3F96 #964C2B #74962B
monochromatic
#101737 #1D2B66 #2B3F96 #3953C6 #687CD4

Accessibility & contrast

On white

9.32
#2B3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3F96
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F96#FFFFFF#000000##FFFFFF
##2B3F961.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3f96;
/* rgb */ color: rgb(43, 63, 150);
/* oklch */ color: oklch(40.6% 0.144 269.2);
Tailwind
colors: {
  custom: {
    50: '#7373b6',
    500: '#2b3f96',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f96;
$custom-light: #7373b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f96",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 228.785,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.14447,
    "h": 269.2
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#2B3F96
secondary
#BAAA63
accent
#C349DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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