#2B286E#2B286E

#2B286E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.118 H 279.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2B286E
RGBrgb(43, 40, 110)
HSLhsl(243, 47%, 29%)
HSVhsv(243, 64%, 43%)
CMYKcmyk(60.9%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.66, 23.78, -40.35)
CIE-LCHlch(20.66, 46.84, 300.51°)
OKLaboklab(32.58% 0.0195 -0.1159)
OKLCHoklch(32.58% 0.118 279.5)
XYZxyz(4.5686, 3.1566, 15.1174)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B286E #6B6E28
analogous
#28486E #2B286E #4E286E
triadic
#2B286E #6E2B28 #286E2B
tetradic
#2B286E #6E2848 #6B6E28 #286E4E
square
#2B286E #6E2848 #6B6E28 #286E4E
split-complementary
#2B286E #6E4E28 #486E28
monochromatic
#090816 #191841 #2B286E #3D389B #5651C0

Accessibility & contrast

On white

12.87
#2B286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2B286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B286E
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B286E#FFFFFF#000000##FFFFFF
##2B286E1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#033947
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b286e;
/* rgb */ color: rgb(43, 40, 110);
/* oklch */ color: oklch(32.6% 0.118 279.5);
Tailwind
colors: {
  custom: {
    50: '#6c6298',
    500: '#2b286e',
    950: '#000000',
  },
}
SCSS
$custom: #2b286e;
$custom-light: #6c6298;
$custom-dark: #000000;
JSON
{
  "hex": "#2b286e",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 242.571,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32579,
    "c": 0.11756,
    "h": 279.5
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#2B286E
secondary
#9DA051
accent
#D651D1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B286E

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

Preview Lab → · Contrast checker → · Palette generator →

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