#2B3A9E#2B3A9E

#2B3A9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.162 H 270.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2B3A9E
RGBrgb(43, 58, 158)
HSLhsl(232, 57%, 39%)
HSVhsv(232, 73%, 62%)
CMYKcmyk(72.8%, 63.3%, 0%, 38%)
CIE-LABlab(29.43, 29.33, -56.07)
CIE-LCHlch(29.43, 63.28, 297.61°)
OKLaboklab(40.32% 0.0018 -0.1619)
OKLCHoklch(40.32% 0.162 270.6)
XYZxyz(8.6788, 6.0074, 33.0433)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A9E #9E8F2B
analogous
#2B749E #2B3A9E #562B9E
triadic
#2B3A9E #9E2B3A #3A9E2B
tetradic
#2B3A9E #9E2B74 #9E8F2B #2B9E56
square
#2B3A9E #9E2B74 #9E8F2B #2B9E56
split-complementary
#2B3A9E #9E562B #749E2B
monochromatic
#11173E #1E286E #2B3A9E #3C4FCA #6C7AD7

Accessibility & contrast

On white

9.54
#2B3A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B3A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A9E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A9E#FFFFFF#000000##FFFFFF
##2B3A9E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3a9e;
/* rgb */ color: rgb(43, 58, 158);
/* oklch */ color: oklch(40.3% 0.162 270.6);
Tailwind
colors: {
  custom: {
    50: '#7570bc',
    500: '#2b3a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a9e;
$custom-light: #7570bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a9e",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 232.174,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.16194,
    "h": 270.6
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#2B3A9E
secondary
#BEB367
accent
#CC47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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