#2B3AB8#2B3AB8

#2B3AB8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.196 H 270.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2B3AB8
RGBrgb(43, 58, 184)
HSLhsl(234, 62%, 45%)
HSVhsv(234, 77%, 72%)
CMYKcmyk(76.6%, 68.5%, 0%, 27.8%)
CIE-LABlab(31.81, 38.77, -67.76)
CIE-LCHlch(31.81, 78.06, 299.78°)
OKLaboklab(42.79% 0.0001 -0.1961)
OKLCHoklch(42.79% 0.196 270)
XYZxyz(11.1581, 6.9992, 46.1010)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AB8 #B8A92B
analogous
#2B81B8 #2B3AB8 #632BB8
triadic
#2B3AB8 #B82B3A #3AB82B
tetradic
#2B3AB8 #B82B81 #B8A92B #2BB863
square
#2B3AB8 #B82B81 #B8A92B #2BB863
split-complementary
#2B3AB8 #B8632B #81B82B
monochromatic
#141B55 #1F2A86 #2B3AB8 #4B5AD5 #7D87E1

Accessibility & contrast

On white

8.75
#2B3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AB8
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AB8#FFFFFF#000000##FFFFFF
##2B3AB81.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3ab8;
/* rgb */ color: rgb(43, 58, 184);
/* oklch */ color: oklch(42.8% 0.196 270.0);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2b3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ab8;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ab8",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 233.617,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.19613,
    "h": 270
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#2B3AB8
secondary
#C9C076
accent
#D443E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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