#2B3FB5#2B3FB5

#2B3FB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.187 H 269.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2B3FB5
RGBrgb(43, 63, 181)
HSLhsl(231, 62%, 44%)
HSVhsv(231, 76%, 71%)
CMYKcmyk(76.2%, 65.2%, 0%, 29%)
CIE-LABlab(32.71, 34.53, -64.50)
CIE-LCHlch(32.71, 73.16, 298.16°)
OKLaboklab(43.36% -0.0025 -0.1866)
OKLCHoklch(43.36% 0.187 269.2)
XYZxyz(11.1114, 7.4036, 44.5505)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FB5 #B5A12B
analogous
#2B84B5 #2B3FB5 #5C2BB5
triadic
#2B3FB5 #B52B3F #3FB52B
tetradic
#2B3FB5 #B52B84 #B5A12B #2BB55C
square
#2B3FB5 #B52B84 #B5A12B #2BB55C
split-complementary
#2B3FB5 #B55C2B #84B52B
monochromatic
#141D52 #1F2E84 #2B3FB5 #495DD4 #7B89E0

Accessibility & contrast

On white

8.46
#2B3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FB5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FB5#FFFFFF#000000##FFFFFF
##2B3FB51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b3fb5;
/* rgb */ color: rgb(43, 63, 181);
/* oklch */ color: oklch(43.4% 0.187 269.2);
Tailwind
colors: {
  custom: {
    50: '#7a74cc',
    500: '#2b3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fb5;
$custom-light: #7a74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fb5",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 231.304,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.18659,
    "h": 269.2
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#2B3FB5
secondary
#C8BC74
accent
#CD43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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