#2B419F#2B419F

#2B419F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.155 H 268.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2B419F
RGBrgb(43, 65, 159)
HSLhsl(229, 57%, 40%)
HSVhsv(229, 73%, 62%)
CMYKcmyk(73%, 59.1%, 0%, 37.6%)
CIE-LABlab(31.34, 25.05, -53.57)
CIE-LCHlch(31.34, 59.13, 295.06°)
OKLaboklab(41.76% -0.0035 -0.1545)
OKLCHoklch(41.76% 0.155 268.7)
XYZxyz(9.1424, 6.7964, 33.6242)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B419F #9F892B
analogous
#2B7B9F #2B419F #4F2B9F
triadic
#2B419F #9F2B41 #419F2B
tetradic
#2B419F #9F2B7B #9F892B #2B9F4F
square
#2B419F #9F2B7B #9F892B #2B9F4F
split-complementary
#2B419F #9F4F2B #7B9F2B
monochromatic
#111A3F #1E2D6F #2B419F #3D58CA #6D81D7

Accessibility & contrast

On white

8.90
#2B419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B419F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B419F#FFFFFF#000000##FFFFFF
##2B419F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b419f;
/* rgb */ color: rgb(43, 65, 159);
/* oklch */ color: oklch(41.8% 0.155 268.7);
Tailwind
colors: {
  custom: {
    50: '#7575bc',
    500: '#2b419f',
    950: '#000000',
  },
}
SCSS
$custom: #2b419f;
$custom-light: #7575bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b419f",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 228.621,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.15454,
    "h": 268.7
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#2B419F
secondary
#BEAE67
accent
#C447E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B419F

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

Preview Lab → · Contrast checker → · Palette generator →

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