#2B41B0#2B41B0

#2B41B0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.178 H 268.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2B41B0
RGBrgb(43, 65, 176)
HSLhsl(230, 61%, 43%)
HSVhsv(230, 76%, 69%)
CMYKcmyk(75.6%, 63.1%, 0%, 31%)
CIE-LABlab(32.76, 31.40, -61.44)
CIE-LCHlch(32.76, 69.00, 297.07°)
OKLaboklab(43.26% -0.0036 -0.1776)
OKLCHoklch(43.26% 0.178 268.9)
XYZxyz(10.7203, 7.4276, 41.9346)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41B0 #B09A2B
analogous
#2B84B0 #2B41B0 #572BB0
triadic
#2B41B0 #B02B41 #41B02B
tetradic
#2B41B0 #B02B84 #B09A2B #2BB057
square
#2B41B0 #B02B84 #B09A2B #2BB057
split-complementary
#2B41B0 #B0572B #84B02B
monochromatic
#131D4E #1F2F7F #2B41B0 #465DD2 #7888DE

Accessibility & contrast

On white

8.45
#2B41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41B0
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41B0#FFFFFF#000000##FFFFFF
##2B41B01.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b41b0;
/* rgb */ color: rgb(43, 65, 176);
/* oklch */ color: oklch(43.3% 0.178 268.9);
Tailwind
colors: {
  custom: {
    50: '#7975c9',
    500: '#2b41b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b41b0;
$custom-light: #7975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41b0",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 230.075,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.17765,
    "h": 268.9
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#2B41B0
secondary
#C6B871
accent
#C944E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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