#2B3EB7#2B3EB7

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

Color values

HEX#2B3EB7
RGBrgb(43, 62, 183)
HSLhsl(232, 62%, 44%)
HSVhsv(232, 77%, 72%)
CMYKcmyk(76.5%, 66.1%, 0%, 28.2%)
CIE-LABlab(32.65, 35.90, -65.78)
CIE-LCHlch(32.65, 74.94, 298.62°)
OKLaboklab(43.37% -0.002 -0.1903)
OKLCHoklch(43.37% 0.19 269.4)
XYZxyz(11.2632, 7.3765, 45.6208)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EB7 #B7A42B
analogous
#2B84B7 #2B3EB7 #5E2BB7
triadic
#2B3EB7 #B72B3E #3EB72B
tetradic
#2B3EB7 #B72B84 #B7A42B #2BB75E
square
#2B3EB7 #B72B84 #B7A42B #2BB75E
split-complementary
#2B3EB7 #B75E2B #84B72B
monochromatic
#141C54 #1F2D85 #2B3EB7 #4B5DD5 #7C8AE0

Accessibility & contrast

On white

8.48
#2B3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3EB7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EB7#FFFFFF#000000##FFFFFF
##2B3EB71.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3eb7;
/* rgb */ color: rgb(43, 62, 183);
/* oklch */ color: oklch(43.4% 0.190 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b73ce',
    500: '#2b3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eb7;
$custom-light: #7b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eb7",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 231.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.19034,
    "h": 269.4
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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