#2B3A9D#2B3A9D

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

Color values

HEX#2B3A9D
RGBrgb(43, 58, 157)
HSLhsl(232, 57%, 39%)
HSVhsv(232, 73%, 62%)
CMYKcmyk(72.6%, 63.1%, 0%, 38.4%)
CIE-LABlab(29.34, 28.96, -55.61)
CIE-LCHlch(29.34, 62.69, 297.51°)
OKLaboklab(40.23% 0.0018 -0.1606)
OKLCHoklch(40.23% 0.161 270.6)
XYZxyz(8.5930, 5.9732, 32.5918)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A9D #9D8E2B
analogous
#2B739D #2B3A9D #552B9D
triadic
#2B3A9D #9D2B3A #3A9D2B
tetradic
#2B3A9D #9D2B73 #9D8E2B #2B9D55
square
#2B3A9D #9D2B73 #9D8E2B #2B9D55
split-complementary
#2B3A9D #9D552B #739D2B
monochromatic
#11173D #1E286D #2B3A9D #3C4ECA #6C7AD7

Accessibility & contrast

On white

9.57
#2B3A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B3A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A9D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A9D#FFFFFF#000000##FFFFFF
##2B3A9D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3a9d;
/* rgb */ color: rgb(43, 58, 157);
/* oklch */ color: oklch(40.2% 0.161 270.6);
Tailwind
colors: {
  custom: {
    50: '#7570bb',
    500: '#2b3a9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a9d;
$custom-light: #7570bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a9d",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 232.105,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.16058,
    "h": 270.6
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#2B3A9D
secondary
#BDB266
accent
#CC48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2B3A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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