#2B3FB4#2B3FB4

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

Color values

HEX#2B3FB4
RGBrgb(43, 63, 180)
HSLhsl(231, 61%, 44%)
HSVhsv(231, 76%, 71%)
CMYKcmyk(76.1%, 65%, 0%, 29.4%)
CIE-LABlab(32.62, 34.17, -64.05)
CIE-LCHlch(32.62, 72.59, 298.08°)
OKLaboklab(43.27% -0.0025 -0.1853)
OKLCHoklch(43.27% 0.185 269.2)
XYZxyz(11.0092, 7.3627, 44.0121)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FB4 #B4A02B
analogous
#2B83B4 #2B3FB4 #5B2BB4
triadic
#2B3FB4 #B42B3F #3FB42B
tetradic
#2B3FB4 #B42B83 #B4A02B #2BB45B
square
#2B3FB4 #B42B83 #B4A02B #2BB45B
split-complementary
#2B3FB4 #B45B2B #83B42B
monochromatic
#131C51 #1F2E83 #2B3FB4 #495DD3 #7A89DF

Accessibility & contrast

On white

8.49
#2B3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2B3FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FB4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FB4#FFFFFF#000000##FFFFFF
##2B3FB41.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b3fb4;
/* rgb */ color: rgb(43, 63, 180);
/* oklch */ color: oklch(43.3% 0.185 269.2);
Tailwind
colors: {
  custom: {
    50: '#7a74cb',
    500: '#2b3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fb4;
$custom-light: #7a74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fb4",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 231.241,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.18529,
    "h": 269.2
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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