#2B289C#2B289C

#2B289C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.180 H 274.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2B289C
RGBrgb(43, 40, 156)
HSLhsl(242, 59%, 38%)
HSVhsv(242, 74%, 61%)
CMYKcmyk(72.4%, 74.4%, 0%, 38.8%)
CIE-LABlab(25.05, 39.92, -62.05)
CIE-LCHlch(25.05, 73.79, 302.76°)
OKLaboklab(37.09% 0.0135 -0.1794)
OKLCHoklch(37.09% 0.18 274.3)
XYZxyz(7.7538, 4.4307, 31.8926)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B289C #999C28
analogous
#285F9C #2B289C #65289C
triadic
#2B289C #9C2B28 #289C2B
tetradic
#2B289C #9C285F #999C28 #289C65
square
#2B289C #9C285F #999C28 #289C65
split-complementary
#2B289C #9C6528 #5F9C28
monochromatic
#100F3B #1E1C6B #2B289C #3A36CB #6967D8

Accessibility & contrast

On white

11.13
#2B289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B289C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B289C#FFFFFF#000000##FFFFFF
##2B289C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b289c;
/* rgb */ color: rgb(43, 40, 156);
/* oklch */ color: oklch(37.1% 0.180 274.3);
Tailwind
colors: {
  custom: {
    50: '#7663ba',
    500: '#2b289c',
    950: '#000000',
  },
}
SCSS
$custom: #2b289c;
$custom-light: #7663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b289c",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 241.552,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37088,
    "c": 0.17996,
    "h": 274.3
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#2B289C
secondary
#BCBE62
accent
#E245DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B289C

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

Preview Lab → · Contrast checker → · Palette generator →

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