#2B3CA7#2B3CA7

#2B3CA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.172 H 270.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2B3CA7
RGBrgb(43, 60, 167)
HSLhsl(232, 59%, 41%)
HSVhsv(232, 74%, 65%)
CMYKcmyk(74.3%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.72, 31.34, -59.40)
CIE-LCHlch(30.72, 67.16, 297.82°)
OKLaboklab(41.52% 0.0001 -0.1717)
OKLCHoklch(41.52% 0.172 270)
XYZxyz(9.5848, 6.5343, 37.3078)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CA7 #A7962B
analogous
#2B7AA7 #2B3CA7 #582BA7
triadic
#2B3CA7 #A72B3C #3CA72B
tetradic
#2B3CA7 #A72B7A #A7962B #2BA758
square
#2B3CA7 #A72B7A #A7962B #2BA758
split-complementary
#2B3CA7 #A7582B #7AA72B
monochromatic
#121946 #1E2B76 #2B3CA7 #4154CE #7280DB

Accessibility & contrast

On white

9.10
#2B3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CA7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CA7#FFFFFF#000000##FFFFFF
##2B3CA71.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3ca7;
/* rgb */ color: rgb(43, 60, 167);
/* oklch */ color: oklch(41.5% 0.172 270.0);
Tailwind
colors: {
  custom: {
    50: '#7771c2',
    500: '#2b3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ca7;
$custom-light: #7771c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ca7",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 231.774,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.17166,
    "h": 270
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#2B3CA7
secondary
#C2B66C
accent
#CD46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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