#2B246F#2B246F

#2B246F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.125 H 280.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2B246F
RGBrgb(43, 36, 111)
HSLhsl(246, 51%, 29%)
HSVhsv(246, 68%, 44%)
CMYKcmyk(61.3%, 67.6%, 0%, 56.5%)
CIE-LABlab(19.73, 26.81, -42.51)
CIE-LCHlch(19.73, 50.26, 302.23°)
OKLaboklab(31.93% 0.0235 -0.1223)
OKLCHoklch(31.93% 0.125 280.9)
XYZxyz(4.4955, 2.9227, 15.3631)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B246F #686F24
analogous
#24436F #2B246F #51246F
triadic
#2B246F #6F2B24 #246F2B
tetradic
#2B246F #6F2443 #686F24 #246F51
square
#2B246F #6F2443 #686F24 #246F51
split-complementary
#2B246F #6F5124 #436F24
monochromatic
#090717 #191541 #2B246F #3D339D #5549C4

Accessibility & contrast

On white

13.25
#2B246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B246F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B246F#FFFFFF#000000##FFFFFF
##2B246F1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#023746
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b246f;
/* rgb */ color: rgb(43, 36, 111);
/* oklch */ color: oklch(31.9% 0.125 280.9);
Tailwind
colors: {
  custom: {
    50: '#6c5f99',
    500: '#2b246f',
    950: '#000000',
  },
}
SCSS
$custom: #2b246f;
$custom-light: #6c5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2b246f",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 245.6,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31927,
    "c": 0.12454,
    "h": 280.9
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#2B246F
secondary
#9AA24D
accent
#DA4DCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #2B246F

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

Preview Lab → · Contrast checker → · Palette generator →

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