#2B246A#2B246A

#2B246A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.5% C 0.117 H 281.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#2B246A
RGBrgb(43, 36, 106)
HSLhsl(246, 49%, 28%)
HSVhsv(246, 66%, 42%)
CMYKcmyk(59.4%, 66%, 0%, 58.4%)
CIE-LABlab(19.29, 25.05, -39.99)
CIE-LCHlch(19.29, 47.18, 302.06°)
OKLaboklab(31.47% 0.024 -0.1149)
OKLCHoklch(31.47% 0.117 281.8)
XYZxyz(4.2278, 2.8157, 13.9536)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B246A #636A24
analogous
#24406A #2B246A #4E246A
triadic
#2B246A #6A2B24 #246A2B
tetradic
#2B246A #6A2440 #636A24 #246A4E
square
#2B246A #6A2440 #636A24 #246A4E
split-complementary
#2B246A #6A4E24 #406A24
monochromatic
#090817 #18143C #2B246A #3E3498 #5448C1

Accessibility & contrast

On white

13.43
#2B246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2B246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B246A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B246A#FFFFFF#000000##FFFFFF
##2B246A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#0B3543
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b246a;
/* rgb */ color: rgb(43, 36, 106);
/* oklch */ color: oklch(31.5% 0.117 281.8);
Tailwind
colors: {
  custom: {
    50: '#6b5f95',
    500: '#2b246a',
    950: '#000000',
  },
}
SCSS
$custom: #2b246a;
$custom-light: #6b5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2b246a",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 246,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.11736,
    "h": 281.8
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#2B246A
secondary
#959D4D
accent
#D94FCB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2B246A

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

Preview Lab → · Contrast checker → · Palette generator →

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