#2B3F9D#2B3F9D

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

Color values

HEX#2B3F9D
RGBrgb(43, 63, 157)
HSLhsl(229, 57%, 39%)
HSVhsv(229, 73%, 62%)
CMYKcmyk(72.6%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.65, 25.63, -53.48)
CIE-LCHlch(30.65, 59.31, 295.60°)
OKLaboklab(41.2% -0.002 -0.1543)
OKLCHoklch(41.2% 0.154 269.3)
XYZxyz(8.8575, 6.5020, 32.6800)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F9D #9D892B
analogous
#2B789D #2B3F9D #502B9D
triadic
#2B3F9D #9D2B3F #3F9D2B
tetradic
#2B3F9D #9D2B78 #9D892B #2B9D50
square
#2B3F9D #9D2B78 #9D892B #2B9D50
split-complementary
#2B3F9D #9D502B #789D2B
monochromatic
#11183D #1E2C6D #2B3F9D #3C55CA #6C7ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3F9D#FFFFFF#000000##FFFFFF
##2B3F9D1.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)
#004EA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3f9d;
/* rgb */ color: rgb(43, 63, 157);
/* oklch */ color: oklch(41.2% 0.154 269.3);
Tailwind
colors: {
  custom: {
    50: '#7473bb',
    500: '#2b3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f9d;
$custom-light: #7473bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f9d",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 229.474,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.15429,
    "h": 269.3
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#2B3F9D
secondary
#BDAE66
accent
#C548E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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