#2B3BAB#2B3BAB

#2B3BAB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.178 H 270.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2B3BAB
RGBrgb(43, 59, 171)
HSLhsl(233, 60%, 42%)
HSVhsv(233, 75%, 67%)
CMYKcmyk(74.9%, 65.5%, 0%, 32.9%)
CIE-LABlab(30.83, 33.45, -61.61)
CIE-LCHlch(30.83, 70.11, 298.50°)
OKLaboklab(41.71% 0.0005 -0.1782)
OKLCHoklch(41.71% 0.178 270.2)
XYZxyz(9.9084, 6.5807, 39.2682)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BAB #AB9B2B
analogous
#2B7BAB #2B3BAB #5B2BAB
triadic
#2B3BAB #AB2B3B #3BAB2B
tetradic
#2B3BAB #AB2B7B #AB9B2B #2BAB5B
square
#2B3BAB #AB2B7B #AB9B2B #2BAB5B
split-complementary
#2B3BAB #AB5B2B #7BAB2B
monochromatic
#121949 #1F2A7A #2B3BAB #4355D0 #7481DC

Accessibility & contrast

On white

9.07
#2B3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B3BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BAB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BAB#FFFFFF#000000##FFFFFF
##2B3BAB1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3bab;
/* rgb */ color: rgb(43, 59, 171);
/* oklch */ color: oklch(41.7% 0.178 270.2);
Tailwind
colors: {
  custom: {
    50: '#7871c5',
    500: '#2b3bab',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bab;
$custom-light: #7871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bab",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 232.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.17816,
    "h": 270.2
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#2B3BAB
secondary
#C4B96E
accent
#CF45E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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