#2B296E#2B296E

#2B296E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.8% C 0.116 H 279.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#2B296E
RGBrgb(43, 41, 110)
HSLhsl(242, 46%, 30%)
HSVhsv(242, 63%, 43%)
CMYKcmyk(60.9%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.92, 23.10, -39.93)
CIE-LCHlch(20.92, 46.13, 300.05°)
OKLaboklab(32.77% 0.0184 -0.1147)
OKLCHoklch(32.77% 0.116 279.1)
XYZxyz(4.6028, 3.2249, 15.1288)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B296E #6C6E29
analogous
#294A6E #2B296E #4E296E
triadic
#2B296E #6E2B29 #296E2B
tetradic
#2B296E #6E294A #6C6E29 #296E4E
square
#2B296E #6E294A #6C6E29 #296E4E
split-complementary
#2B296E #6E4E29 #4A6E29
monochromatic
#090816 #1A1841 #2B296E #3C3A9B #5653BF

Accessibility & contrast

On white

12.77
#2B296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B296E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B296E#FFFFFF#000000##FFFFFF
##2B296E1.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#023A47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b296e;
/* rgb */ color: rgb(43, 41, 110);
/* oklch */ color: oklch(32.8% 0.116 279.1);
Tailwind
colors: {
  custom: {
    50: '#6c6398',
    500: '#2b296e',
    950: '#000000',
  },
}
SCSS
$custom: #2b296e;
$custom-light: #6c6398;
$custom-dark: #000000;
JSON
{
  "hex": "#2b296e",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 241.739,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32772,
    "c": 0.11614,
    "h": 279.1
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#2B296E
secondary
#9EA053
accent
#D552D2
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B296E

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

Preview Lab → · Contrast checker → · Palette generator →

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