#2B246E#2B246E

#2B246E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.123 H 281.1°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#2B246E
RGBrgb(43, 36, 110)
HSLhsl(246, 51%, 29%)
HSVhsv(246, 67%, 43%)
CMYKcmyk(60.9%, 67.3%, 0%, 56.9%)
CIE-LABlab(19.64, 26.45, -42.01)
CIE-LCHlch(19.64, 49.65, 302.20°)
OKLaboklab(31.83% 0.0236 -0.1208)
OKLCHoklch(31.83% 0.123 281.1)
XYZxyz(4.4407, 2.9008, 15.0747)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B246E #676E24
analogous
#24426E #2B246E #50246E
triadic
#2B246E #6E2B24 #246E2B
tetradic
#2B246E #6E2442 #676E24 #246E50
square
#2B246E #6E2442 #676E24 #246E50
split-complementary
#2B246E #6E5024 #426E24
monochromatic
#090817 #191540 #2B246E #3D339C #5549C3

Accessibility & contrast

On white

13.29
#2B246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2B246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B246E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B246E#FFFFFF#000000##FFFFFF
##2B246E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#043645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b246e;
/* rgb */ color: rgb(43, 36, 110);
/* oklch */ color: oklch(31.8% 0.123 281.1);
Tailwind
colors: {
  custom: {
    50: '#6c5f98',
    500: '#2b246e',
    950: '#000000',
  },
}
SCSS
$custom: #2b246e;
$custom-light: #6c5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2b246e",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 245.676,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.12311,
    "h": 281.1
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#2B246E
secondary
#99A14D
accent
#DA4ECD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #2B246E

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

Preview Lab → · Contrast checker → · Palette generator →

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