#2B3FA2#2B3FA2

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

Color values

HEX#2B3FA2
RGBrgb(43, 63, 162)
HSLhsl(230, 58%, 40%)
HSVhsv(230, 73%, 64%)
CMYKcmyk(73.5%, 61.1%, 0%, 36.5%)
CIE-LABlab(31.06, 27.51, -55.84)
CIE-LCHlch(31.06, 62.24, 296.23°)
OKLaboklab(41.63% -0.0019 -0.1612)
OKLCHoklch(41.63% 0.161 269.3)
XYZxyz(9.2931, 6.6763, 34.9743)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA2 #A28E2B
analogous
#2B7AA2 #2B3FA2 #522BA2
triadic
#2B3FA2 #A22B3F #3FA22B
tetradic
#2B3FA2 #A22B7A #A28E2B #2BA252
square
#2B3FA2 #A22B7A #A28E2B #2BA252
split-complementary
#2B3FA2 #A2522B #7AA22B
monochromatic
#111941 #1E2C72 #2B3FA2 #3E56CC #6F81D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3FA2#FFFFFF#000000##FFFFFF
##2B3FA21.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)
#004FA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3fa2;
/* rgb */ color: rgb(43, 63, 162);
/* oklch */ color: oklch(41.6% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2b3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa2;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa2",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 229.916,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41632,
    "c": 0.1612,
    "h": 269.3
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#2B3FA2
secondary
#C0B169
accent
#C747E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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