#2B3EAB#2B3EAB

#2B3EAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.175 H 269.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2B3EAB
RGBrgb(43, 62, 171)
HSLhsl(231, 60%, 42%)
HSVhsv(231, 75%, 67%)
CMYKcmyk(74.9%, 63.7%, 0%, 32.9%)
CIE-LABlab(31.57, 31.51, -60.40)
CIE-LCHlch(31.57, 68.13, 297.55°)
OKLaboklab(42.25% -0.0014 -0.1746)
OKLCHoklch(42.25% 0.175 269.5)
XYZxyz(10.0670, 6.8980, 39.3211)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EAB #AB982B
analogous
#2B7EAB #2B3EAB #582BAB
triadic
#2B3EAB #AB2B3E #3EAB2B
tetradic
#2B3EAB #AB2B7E #AB982B #2BAB58
square
#2B3EAB #AB2B7E #AB982B #2BAB58
split-complementary
#2B3EAB #AB582B #7EAB2B
monochromatic
#121B49 #1F2C7A #2B3EAB #4358D0 #7484DC

Accessibility & contrast

On white

8.82
#2B3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B3EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EAB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EAB#FFFFFF#000000##FFFFFF
##2B3EAB1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3eab;
/* rgb */ color: rgb(43, 62, 171);
/* oklch */ color: oklch(42.3% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#7873c5',
    500: '#2b3eab',
    950: '#000000',
  },
}
SCSS
$custom: #2b3eab;
$custom-light: #7873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3eab",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 231.094,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.1746,
    "h": 269.5
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#2B3EAB
secondary
#C4B76E
accent
#CB45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B3EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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