#2B294B#2B294B

#2B294B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.061 H 284.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#2B294B
RGBrgb(43, 41, 75)
HSLhsl(244, 29%, 23%)
HSVhsv(244, 45%, 29%)
CMYKcmyk(42.7%, 45.3%, 0%, 70.6%)
CIE-LABlab(18.40, 10.78, -20.80)
CIE-LCHlch(18.40, 23.43, 297.38°)
OKLaboklab(30.07% 0.0155 -0.0585)
OKLCHoklch(30.07% 0.061 284.8)
XYZxyz(3.0588, 2.6074, 6.9973)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B294B #494B29
analogous
#29384B #2B294B #3C294B
triadic
#2B294B #4B2B29 #294B2B
tetradic
#2B294B #4B2938 #494B29 #294B3C
square
#2B294B #4B2938 #494B29 #294B3C
split-complementary
#2B294B #4B3C29 #384B29
monochromatic
#0B0B14 #141323 #2B294B #423F73 #58549A

Accessibility & contrast

On white

13.80
#2B294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2B294B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B294B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B294B#FFFFFF#000000##FFFFFF
##2B294B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4C
Deuteranopia (green-blind)
#1C2C4A
Tritanopia (blue-blind)
#223036
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b294b;
/* rgb */ color: rgb(43, 41, 75);
/* oklch */ color: oklch(30.1% 0.061 284.8);
Tailwind
colors: {
  custom: {
    50: '#66627d',
    500: '#2b294b',
    950: '#000000',
  },
}
SCSS
$custom: #2b294b;
$custom-light: #66627d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b294b",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 243.529,
    "s": 29.31,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30072,
    "c": 0.06055,
    "h": 284.8
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#2B294B
secondary
#7B7D53
accent
#C662C0
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#060509
muted
#7A797B

Preview Lab

Preview with #2B294B

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

Preview Lab → · Contrast checker → · Palette generator →

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