#2B2463#2B2463

#2B2463 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.107 H 283.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2B2463
RGBrgb(43, 36, 99)
HSLhsl(247, 47%, 26%)
HSVhsv(247, 64%, 39%)
CMYKcmyk(56.6%, 63.6%, 0%, 61.2%)
CIE-LABlab(18.70, 22.59, -36.37)
CIE-LCHlch(18.70, 42.81, 301.84°)
OKLaboklab(30.85% 0.0244 -0.1042)
OKLCHoklch(30.85% 0.107 283.2)
XYZxyz(3.8786, 2.6760, 12.1141)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2463 #5C6324
analogous
#243D63 #2B2463 #4B2463
triadic
#2B2463 #632B24 #24632B
tetradic
#2B2463 #63243D #5C6324 #24634B
square
#2B2463 #63243D #5C6324 #24634B
split-complementary
#2B2463 #634B24 #3D6324
monochromatic
#0A0816 #181436 #2B2463 #3E3490 #5346BC

Accessibility & contrast

On white

13.68
#2B2463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2B2463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2463
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2463#FFFFFF#000000##FFFFFF
##2B24631.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#13333F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2463;
/* rgb */ color: rgb(43, 36, 99);
/* oklch */ color: oklch(30.8% 0.107 283.2);
Tailwind
colors: {
  custom: {
    50: '#6a5f90',
    500: '#2b2463',
    950: '#000000',
  },
}
SCSS
$custom: #2b2463;
$custom-light: #6a5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2463",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 246.667,
    "s": 46.667,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.10706,
    "h": 283.2
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#2B2463
secondary
#8E964C
accent
#D651C8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2B2463

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

Preview Lab → · Contrast checker → · Palette generator →

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