#2B3BA9#2B3BA9

#2B3BA9 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.176 H 270.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2B3BA9
RGBrgb(43, 59, 169)
HSLhsl(232, 59%, 42%)
HSVhsv(232, 75%, 66%)
CMYKcmyk(74.6%, 65.1%, 0%, 33.7%)
CIE-LABlab(30.65, 32.72, -60.71)
CIE-LCHlch(30.65, 68.97, 298.32°)
OKLaboklab(41.52% 0.0006 -0.1755)
OKLCHoklch(41.52% 0.176 270.2)
XYZxyz(9.7192, 6.5051, 38.2718)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BA9 #A9992B
analogous
#2B7AA9 #2B3BA9 #5A2BA9
triadic
#2B3BA9 #A92B3B #3BA92B
tetradic
#2B3BA9 #A92B7A #A9992B #2BA95A
square
#2B3BA9 #A92B7A #A9992B #2BA95A
split-complementary
#2B3BA9 #A95A2B #7AA92B
monochromatic
#121947 #1F2A78 #2B3BA9 #4254CF #7380DB

Accessibility & contrast

On white

9.13
#2B3BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B3BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BA9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BA9#FFFFFF#000000##FFFFFF
##2B3BA91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3ba9;
/* rgb */ color: rgb(43, 59, 169);
/* oklch */ color: oklch(41.5% 0.176 270.2);
Tailwind
colors: {
  custom: {
    50: '#7871c4',
    500: '#2b3ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ba9;
$custom-light: #7871c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ba9",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 232.381,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.17552,
    "h": 270.2
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#2B3BA9
secondary
#C3B86D
accent
#CF45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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