#2B3FA3#2B3FA3

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

Color values

HEX#2B3FA3
RGBrgb(43, 63, 163)
HSLhsl(230, 58%, 40%)
HSVhsv(230, 74%, 64%)
CMYKcmyk(73.6%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.14, 27.88, -56.30)
CIE-LCHlch(31.14, 62.83, 296.35°)
OKLaboklab(41.72% -0.0019 -0.1625)
OKLCHoklch(41.72% 0.163 269.3)
XYZxyz(9.3824, 6.7120, 35.4443)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA3 #A38F2B
analogous
#2B7BA3 #2B3FA3 #532BA3
triadic
#2B3FA3 #A32B3F #3FA32B
tetradic
#2B3FA3 #A32B7B #A38F2B #2BA353
square
#2B3FA3 #A32B7B #A38F2B #2BA353
split-complementary
#2B3FA3 #A3532B #7BA32B
monochromatic
#111A42 #1E2C73 #2B3FA3 #3F56CC #6F81D9

Accessibility & contrast

On white

8.96
#2B3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3FA3
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FA3#FFFFFF#000000##FFFFFF
##2B3FA31.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3fa3;
/* rgb */ color: rgb(43, 63, 163);
/* oklch */ color: oklch(41.7% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#7673bf',
    500: '#2b3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa3;
$custom-light: #7673bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa3",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 230,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.16256,
    "h": 269.3
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#2B3FA3
secondary
#C0B26A
accent
#C846E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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