#2B3BAE#2B3BAE

#2B3BAE is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.182 H 270.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2B3BAE
RGBrgb(43, 59, 174)
HSLhsl(233, 60%, 43%)
HSVhsv(233, 75%, 68%)
CMYKcmyk(75.3%, 66.1%, 0%, 31.8%)
CIE-LABlab(31.11, 34.55, -62.96)
CIE-LCHlch(31.11, 71.82, 298.75°)
OKLaboklab(41.99% 0.0003 -0.1821)
OKLCHoklch(41.99% 0.182 270.1)
XYZxyz(10.1976, 6.6964, 40.7913)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BAE #AE9E2B
analogous
#2B7CAE #2B3BAE #5D2BAE
triadic
#2B3BAE #AE2B3B #3BAE2B
tetradic
#2B3BAE #AE2B7C #AE9E2B #2BAE5D
square
#2B3BAE #AE2B7C #AE9E2B #2BAE5D
split-complementary
#2B3BAE #AE5D2B #7CAE2B
monochromatic
#131A4C #1F2A7D #2B3BAE #4556D1 #7683DD

Accessibility & contrast

On white

8.98
#2B3BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B3BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BAE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BAE#FFFFFF#000000##FFFFFF
##2B3BAE1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3bae;
/* rgb */ color: rgb(43, 59, 174);
/* oklch */ color: oklch(42.0% 0.182 270.1);
Tailwind
colors: {
  custom: {
    50: '#7971c7',
    500: '#2b3bae',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bae;
$custom-light: #7971c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bae",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 232.672,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41991,
    "c": 0.1821,
    "h": 270.1
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#2B3BAE
secondary
#C5BB70
accent
#D044E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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