#2B294F#2B294F

#2B294F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.067 H 284.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#2B294F
RGBrgb(43, 41, 79)
HSLhsl(243, 32%, 24%)
HSVhsv(243, 48%, 31%)
CMYKcmyk(45.6%, 48.1%, 0%, 69%)
CIE-LABlab(18.64, 12.12, -23.12)
CIE-LCHlch(18.64, 26.11, 297.67°)
OKLaboklab(30.34% 0.0163 -0.0653)
OKLCHoklch(30.34% 0.067 284)
XYZxyz(3.2001, 2.6639, 7.7412)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B294F #4D4F29
analogous
#293A4F #2B294F #3E294F
triadic
#2B294F #4F2B29 #294F2B
tetradic
#2B294F #4F293A #4D4F29 #294F3E
square
#2B294F #4F293A #4D4F29 #294F3E
split-complementary
#2B294F #4F3E29 #3A4F29
monochromatic
#0B0A14 #151427 #2B294F #413E77 #5753A0

Accessibility & contrast

On white

13.70
#2B294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B294F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B294F#FFFFFF#000000##FFFFFF
##2B294F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F50
Deuteranopia (green-blind)
#1A2C4E
Tritanopia (blue-blind)
#203138
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b294f;
/* rgb */ color: rgb(43, 41, 79);
/* oklch */ color: oklch(30.3% 0.067 284.0);
Tailwind
colors: {
  custom: {
    50: '#666280',
    500: '#2b294f',
    950: '#000000',
  },
}
SCSS
$custom: #2b294f;
$custom-light: #666280;
$custom-dark: #000000;
JSON
{
  "hex": "#2b294f",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 243.158,
    "s": 31.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.0673,
    "h": 284
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#2B294F
secondary
#7F8152
accent
#C860C2
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2B294F

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

Preview Lab → · Contrast checker → · Palette generator →

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