#2B2383#2B2383

#2B2383 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.153 H 278.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2383
RGBrgb(43, 35, 131)
HSLhsl(245, 58%, 33%)
HSVhsv(245, 73%, 51%)
CMYKcmyk(67.2%, 73.3%, 0%, 48.6%)
CIE-LABlab(21.41, 34.38, -52.53)
CIE-LCHlch(21.41, 62.78, 303.20°)
OKLaboklab(33.72% 0.0214 -0.1516)
OKLCHoklch(33.72% 0.153 278)
XYZxyz(5.6927, 3.3539, 21.8157)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2383 #7B8323
analogous
#234B83 #2B2383 #5B2383
triadic
#2B2383 #832B23 #23832B
tetradic
#2B2383 #83234B #7B8323 #23835B
square
#2B2383 #83234B #7B8323 #23835B
split-complementary
#2B2383 #835B23 #4B8323
monochromatic
#0B0922 #1B1653 #2B2383 #3B30B3 #5B50D0

Accessibility & contrast

On white

12.57
#2B2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2383
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2383#FFFFFF#000000##FFFFFF
##2B23831.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2383;
/* rgb */ color: rgb(43, 35, 131);
/* oklch */ color: oklch(33.7% 0.153 278.0);
Tailwind
colors: {
  custom: {
    50: '#715fa8',
    500: '#2b2383',
    950: '#000000',
  },
}
SCSS
$custom: #2b2383;
$custom-light: #715fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2383",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 245,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33721,
    "c": 0.15315,
    "h": 278
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#2B2383
secondary
#ABB44E
accent
#E147D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2383

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

Preview Lab → · Contrast checker → · Palette generator →

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