#2B3CA0#2B3CA0

#2B3CA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.162 H 270.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2B3CA0
RGBrgb(43, 60, 160)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 73%, 63%)
CMYKcmyk(73.1%, 62.5%, 0%, 37.3%)
CIE-LABlab(30.11, 28.75, -56.17)
CIE-LCHlch(30.11, 63.10, 297.10°)
OKLaboklab(40.88% 0.0003 -0.1622)
OKLCHoklch(40.88% 0.162 270.1)
XYZxyz(8.9551, 6.2825, 33.9916)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CA0 #A08F2B
analogous
#2B77A0 #2B3CA0 #552BA0
triadic
#2B3CA0 #A02B3C #3CA02B
tetradic
#2B3CA0 #A02B77 #A08F2B #2BA055
square
#2B3CA0 #A02B77 #A08F2B #2BA055
split-complementary
#2B3CA0 #A0552B #77A02B
monochromatic
#111840 #1E2A70 #2B3CA0 #3D52CB #6E7DD8

Accessibility & contrast

On white

9.31
#2B3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CA0
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CA0#FFFFFF#000000##FFFFFF
##2B3CA01.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3ca0;
/* rgb */ color: rgb(43, 60, 160);
/* oklch */ color: oklch(40.9% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#7571bd',
    500: '#2b3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ca0;
$custom-light: #7571bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ca0",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 231.282,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.1622,
    "h": 270.1
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#2B3CA0
secondary
#BFB268
accent
#CB47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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