#2B3CAB#2B3CAB

#2B3CAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.177 H 270.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2B3CAB
RGBrgb(43, 60, 171)
HSLhsl(232, 60%, 42%)
HSVhsv(232, 75%, 67%)
CMYKcmyk(74.9%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.08, 32.81, -61.21)
CIE-LCHlch(31.08, 69.45, 298.19°)
OKLaboklab(41.89% -0.0001 -0.177)
OKLCHoklch(41.89% 0.177 270)
XYZxyz(9.9603, 6.6845, 39.2855)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CAB #AB9A2B
analogous
#2B7CAB #2B3CAB #5A2BAB
triadic
#2B3CAB #AB2B3C #3CAB2B
tetradic
#2B3CAB #AB2B7C #AB9A2B #2BAB5A
square
#2B3CAB #AB2B7C #AB9A2B #2BAB5A
split-complementary
#2B3CAB #AB5A2B #7CAB2B
monochromatic
#121A49 #1F2B7A #2B3CAB #4356D0 #7482DC

Accessibility & contrast

On white

8.99
#2B3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B3CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CAB
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CAB#FFFFFF#000000##FFFFFF
##2B3CAB1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3cab;
/* rgb */ color: rgb(43, 60, 171);
/* oklch */ color: oklch(41.9% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#7871c5',
    500: '#2b3cab',
    950: '#000000',
  },
}
SCSS
$custom: #2b3cab;
$custom-light: #7871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3cab",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 232.031,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.17698,
    "h": 270
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#2B3CAB
secondary
#C4B86E
accent
#CE45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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