#2B3CA5#2B3CA5

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

Color values

HEX#2B3CA5
RGBrgb(43, 60, 165)
HSLhsl(232, 59%, 41%)
HSVhsv(232, 74%, 65%)
CMYKcmyk(73.9%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.55, 30.60, -58.48)
CIE-LCHlch(30.55, 66.00, 297.62°)
OKLaboklab(41.33% 0.0001 -0.169)
OKLCHoklch(41.33% 0.169 270)
XYZxyz(9.4013, 6.4609, 36.3416)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CA5 #A5942B
analogous
#2B79A5 #2B3CA5 #572BA5
triadic
#2B3CA5 #A52B3C #3CA52B
tetradic
#2B3CA5 #A52B79 #A5942B #2BA557
square
#2B3CA5 #A52B79 #A5942B #2BA557
split-complementary
#2B3CA5 #A5572B #79A52B
monochromatic
#121944 #1E2A74 #2B3CA5 #4054CD #717FDA

Accessibility & contrast

On white

9.16
#2B3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CA5
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CA5#FFFFFF#000000##FFFFFF
##2B3CA51.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3ca5;
/* rgb */ color: rgb(43, 60, 165);
/* oklch */ color: oklch(41.3% 0.169 270.0);
Tailwind
colors: {
  custom: {
    50: '#7771c1',
    500: '#2b3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ca5;
$custom-light: #7771c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ca5",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 231.639,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41334,
    "c": 0.16897,
    "h": 270
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#2B3CA5
secondary
#C1B56B
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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