#2B2699#2B2699

#2B2699 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.178 H 274.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2B2699
RGBrgb(43, 38, 153)
HSLhsl(243, 60%, 37%)
HSVhsv(243, 75%, 60%)
CMYKcmyk(71.9%, 75.2%, 0%, 40%)
CIE-LABlab(24.32, 40.07, -61.42)
CIE-LCHlch(24.32, 73.33, 303.12°)
OKLaboklab(36.48% 0.0152 -0.1776)
OKLCHoklch(36.48% 0.178 274.9)
XYZxyz(7.4372, 4.1990, 30.5494)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2699 #949926
analogous
#265A99 #2B2699 #652699
triadic
#2B2699 #992B26 #26992B
tetradic
#2B2699 #99265A #949926 #269965
square
#2B2699 #99265A #949926 #269965
split-complementary
#2B2699 #996526 #5A9926
monochromatic
#0F0E37 #1D1A68 #2B2699 #3932CA #6762D8

Accessibility & contrast

On white

11.41
#2B2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2699
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2699#FFFFFF#000000##FFFFFF
##2B26991.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2699;
/* rgb */ color: rgb(43, 38, 153);
/* oklch */ color: oklch(36.5% 0.178 274.9);
Tailwind
colors: {
  custom: {
    50: '#7662b8',
    500: '#2b2699',
    950: '#000000',
  },
}
SCSS
$custom: #2b2699;
$custom-light: #7662b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2699",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 242.609,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.17824,
    "h": 274.9
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#2B2699
secondary
#B9BD5E
accent
#E344DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B2699

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

Preview Lab → · Contrast checker → · Palette generator →

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