#2B3FB7#2B3FB7

#2B3FB7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.189 H 269.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2B3FB7
RGBrgb(43, 63, 183)
HSLhsl(231, 62%, 44%)
HSVhsv(231, 77%, 72%)
CMYKcmyk(76.5%, 65.6%, 0%, 28.2%)
CIE-LABlab(32.89, 35.26, -65.39)
CIE-LCHlch(32.89, 74.29, 298.34°)
OKLaboklab(43.55% -0.0026 -0.1892)
OKLCHoklch(43.55% 0.189 269.2)
XYZxyz(11.3181, 7.4863, 45.6391)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FB7 #B7A32B
analogous
#2B85B7 #2B3FB7 #5D2BB7
triadic
#2B3FB7 #B72B3F #3FB72B
tetradic
#2B3FB7 #B72B85 #B7A32B #2BB75D
square
#2B3FB7 #B72B85 #B7A32B #2BB75D
split-complementary
#2B3FB7 #B75D2B #85B72B
monochromatic
#141D54 #1F2E85 #2B3FB7 #4B5ED5 #7C8AE0

Accessibility & contrast

On white

8.41
#2B3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B3FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FB7
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FB7#FFFFFF#000000##FFFFFF
##2B3FB71.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b3fb7;
/* rgb */ color: rgb(43, 63, 183);
/* oklch */ color: oklch(43.5% 0.189 269.2);
Tailwind
colors: {
  custom: {
    50: '#7b74ce',
    500: '#2b3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fb7;
$custom-light: #7b74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fb7",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 231.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.18919,
    "h": 269.2
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#2B3FB7
secondary
#C9BD75
accent
#CE43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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