#2B3F9E#2B3F9E

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

Color values

HEX#2B3F9E
RGBrgb(43, 63, 158)
HSLhsl(230, 57%, 39%)
HSVhsv(230, 73%, 62%)
CMYKcmyk(72.8%, 60.1%, 0%, 38%)
CIE-LABlab(30.73, 26.01, -53.96)
CIE-LCHlch(30.73, 59.90, 295.73°)
OKLaboklab(41.28% -0.002 -0.1557)
OKLCHoklch(41.28% 0.156 269.3)
XYZxyz(8.9432, 6.5363, 33.1314)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F9E #9E8A2B
analogous
#2B799E #2B3F9E #512B9E
triadic
#2B3F9E #9E2B3F #3F9E2B
tetradic
#2B3F9E #9E2B79 #9E8A2B #2B9E51
square
#2B3F9E #9E2B79 #9E8A2B #2B9E51
split-complementary
#2B3F9E #9E512B #799E2B
monochromatic
#11193E #1E2C6E #2B3F9E #3C55CA #6C7FD7

Accessibility & contrast

On white

9.10
#2B3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B3F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F9E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F9E#FFFFFF#000000##FFFFFF
##2B3F9E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3f9e;
/* rgb */ color: rgb(43, 63, 158);
/* oklch */ color: oklch(41.3% 0.156 269.3);
Tailwind
colors: {
  custom: {
    50: '#7573bb',
    500: '#2b3f9e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f9e;
$custom-light: #7573bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f9e",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 229.565,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.15568,
    "h": 269.3
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#2B3F9E
secondary
#BEAF67
accent
#C647E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B3F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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