#2B3FA5#2B3FA5

#2B3FA5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.165 H 269.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2B3FA5
RGBrgb(43, 63, 165)
HSLhsl(230, 59%, 41%)
HSVhsv(230, 74%, 65%)
CMYKcmyk(73.9%, 61.8%, 0%, 35.3%)
CIE-LABlab(31.31, 28.63, -57.23)
CIE-LCHlch(31.31, 63.99, 296.58°)
OKLaboklab(41.9% -0.002 -0.1653)
OKLCHoklch(41.9% 0.165 269.3)
XYZxyz(9.5630, 6.7842, 36.3955)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA5 #A5912B
analogous
#2B7CA5 #2B3FA5 #542BA5
triadic
#2B3FA5 #A52B3F #3FA52B
tetradic
#2B3FA5 #A52B7C #A5912B #2BA554
square
#2B3FA5 #A52B7C #A5912B #2BA554
split-complementary
#2B3FA5 #A5542B #7CA52B
monochromatic
#121A44 #1E2C74 #2B3FA5 #4057CD #7182DA

Accessibility & contrast

On white

8.91
#2B3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B3FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FA5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FA5#FFFFFF#000000##FFFFFF
##2B3FA51.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3fa5;
/* rgb */ color: rgb(43, 63, 165);
/* oklch */ color: oklch(41.9% 0.165 269.3);
Tailwind
colors: {
  custom: {
    50: '#7673c1',
    500: '#2b3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa5;
$custom-light: #7673c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa5",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 230.164,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.16529,
    "h": 269.3
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#2B3FA5
secondary
#C1B36B
accent
#C846E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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