#2B3FB1#2B3FB1

#2B3FB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.181 H 269.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2B3FB1
RGBrgb(43, 63, 177)
HSLhsl(231, 61%, 43%)
HSVhsv(231, 76%, 69%)
CMYKcmyk(75.7%, 64.4%, 0%, 30.6%)
CIE-LABlab(32.35, 33.07, -62.71)
CIE-LCHlch(32.35, 70.89, 297.80°)
OKLaboklab(42.99% -0.0023 -0.1813)
OKLCHoklch(42.99% 0.181 269.3)
XYZxyz(10.7068, 7.2418, 42.4200)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FB1 #B19D2B
analogous
#2B82B1 #2B3FB1 #5A2BB1
triadic
#2B3FB1 #B12B3F #3FB12B
tetradic
#2B3FB1 #B12B82 #B19D2B #2BB15A
square
#2B3FB1 #B12B82 #B19D2B #2BB15A
split-complementary
#2B3FB1 #B15A2B #82B12B
monochromatic
#131C4F #1F2D80 #2B3FB1 #475CD2 #7887DE

Accessibility & contrast

On white

8.58
#2B3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B3FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FB1
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FB1#FFFFFF#000000##FFFFFF
##2B3FB11.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3fb1;
/* rgb */ color: rgb(43, 63, 177);
/* oklch */ color: oklch(43.0% 0.181 269.3);
Tailwind
colors: {
  custom: {
    50: '#7974c9',
    500: '#2b3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fb1;
$custom-light: #7974c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fb1",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 231.045,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42987,
    "c": 0.18134,
    "h": 269.3
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#2B3FB1
secondary
#C6BA72
accent
#CC44E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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