#2B3FA4#2B3FA4

#2B3FA4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.164 H 269.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2B3FA4
RGBrgb(43, 63, 164)
HSLhsl(230, 58%, 41%)
HSVhsv(230, 74%, 64%)
CMYKcmyk(73.8%, 61.6%, 0%, 35.7%)
CIE-LABlab(31.23, 28.25, -56.77)
CIE-LCHlch(31.23, 63.41, 296.46°)
OKLaboklab(41.81% -0.002 -0.1639)
OKLCHoklch(41.81% 0.164 269.3)
XYZxyz(9.4723, 6.7480, 35.9180)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA4 #A4902B
analogous
#2B7BA4 #2B3FA4 #542BA4
triadic
#2B3FA4 #A42B3F #3FA42B
tetradic
#2B3FA4 #A42B7B #A4902B #2BA454
square
#2B3FA4 #A42B7B #A4902B #2BA454
split-complementary
#2B3FA4 #A4542B #7BA42B
monochromatic
#121A43 #1E2C74 #2B3FA4 #3F57CD #7081D9

Accessibility & contrast

On white

8.94
#2B3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FA4
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FA4#FFFFFF#000000##FFFFFF
##2B3FA41.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3fa4;
/* rgb */ color: rgb(43, 63, 164);
/* oklch */ color: oklch(41.8% 0.164 269.3);
Tailwind
colors: {
  custom: {
    50: '#7673c0',
    500: '#2b3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa4;
$custom-light: #7673c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa4",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 230.083,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41809,
    "c": 0.16393,
    "h": 269.3
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#2B3FA4
secondary
#C1B26A
accent
#C846E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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