#2B3F9B#2B3F9B

#2B3F9B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.151 H 269.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2B3F9B
RGBrgb(43, 63, 155)
HSLhsl(229, 57%, 39%)
HSVhsv(229, 72%, 61%)
CMYKcmyk(72.3%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.48, 24.88, -52.54)
CIE-LCHlch(30.48, 58.13, 295.34°)
OKLaboklab(41.03% -0.002 -0.1515)
OKLCHoklch(41.03% 0.152 269.2)
XYZxyz(8.6881, 6.4343, 31.7881)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F9B #9B872B
analogous
#2B779B #2B3F9B #4F2B9B
triadic
#2B3F9B #9B2B3F #3F9B2B
tetradic
#2B3F9B #9B2B77 #9B872B #2B9B4F
square
#2B3F9B #9B2B77 #9B872B #2B9B4F
split-complementary
#2B3F9B #9B4F2B #779B2B
monochromatic
#10183B #1E2C6B #2B3F9B #3B54C9 #6B7ED6

Accessibility & contrast

On white

9.18
#2B3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B3F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F9B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F9B#FFFFFF#000000##FFFFFF
##2B3F9B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3f9b;
/* rgb */ color: rgb(43, 63, 155);
/* oklch */ color: oklch(41.0% 0.151 269.2);
Tailwind
colors: {
  custom: {
    50: '#7473b9',
    500: '#2b3f9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f9b;
$custom-light: #7473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f9b",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 229.286,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.1515,
    "h": 269.2
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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