#2B3A9F#2B3A9F

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

Color values

HEX#2B3A9F
RGBrgb(43, 58, 159)
HSLhsl(232, 57%, 40%)
HSVhsv(232, 73%, 62%)
CMYKcmyk(73%, 63.5%, 0%, 37.6%)
CIE-LABlab(29.52, 29.70, -56.54)
CIE-LCHlch(29.52, 63.86, 297.71°)
OKLaboklab(40.41% 0.0018 -0.1633)
OKLCHoklch(40.41% 0.163 270.6)
XYZxyz(8.7652, 6.0420, 33.4985)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A9F #9F902B
analogous
#2B749F #2B3A9F #562B9F
triadic
#2B3A9F #9F2B3A #3A9F2B
tetradic
#2B3A9F #9F2B74 #9F902B #2B9F56
square
#2B3A9F #9F2B74 #9F902B #2B9F56
split-complementary
#2B3A9F #9F562B #749F2B
monochromatic
#11173F #1E286F #2B3A9F #3D4FCA #6D7BD7

Accessibility & contrast

On white

9.51
#2B3A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B3A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A9F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A9F#FFFFFF#000000##FFFFFF
##2B3A9F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3a9f;
/* rgb */ color: rgb(43, 58, 159);
/* oklch */ color: oklch(40.4% 0.163 270.6);
Tailwind
colors: {
  custom: {
    50: '#7570bc',
    500: '#2b3a9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a9f;
$custom-light: #7570bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a9f",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 232.241,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.1633,
    "h": 270.6
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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