#2B294D#2B294D

#2B294D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.064 H 284.4°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#2B294D
RGBrgb(43, 41, 77)
HSLhsl(243, 31%, 23%)
HSVhsv(243, 47%, 30%)
CMYKcmyk(44.2%, 46.8%, 0%, 69.8%)
CIE-LABlab(18.52, 11.45, -21.97)
CIE-LCHlch(18.52, 24.77, 297.52°)
OKLaboklab(30.2% 0.0159 -0.0619)
OKLCHoklch(30.2% 0.064 284.4)
XYZxyz(3.1284, 2.6352, 7.3635)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B294D #4B4D29
analogous
#29394D #2B294D #3D294D
triadic
#2B294D #4D2B29 #294D2B
tetradic
#2B294D #4D2939 #4B4D29 #294D3D
square
#2B294D #4D2939 #4B4D29 #294D3D
split-complementary
#2B294D #4D3D29 #394D29
monochromatic
#0B0B14 #151425 #2B294D #413E75 #58549D

Accessibility & contrast

On white

13.75
#2B294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B294D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B294D#FFFFFF#000000##FFFFFF
##2B294D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#1B2C4C
Tritanopia (blue-blind)
#213037
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b294d;
/* rgb */ color: rgb(43, 41, 77);
/* oklch */ color: oklch(30.2% 0.064 284.4);
Tailwind
colors: {
  custom: {
    50: '#66627f',
    500: '#2b294d',
    950: '#000000',
  },
}
SCSS
$custom: #2b294d;
$custom-light: #66627f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b294d",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 243.333,
    "s": 30.508,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30204,
    "c": 0.06394,
    "h": 284.4
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#2B294D
secondary
#7D7F52
accent
#C761C1
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2B294D

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

Preview Lab → · Contrast checker → · Palette generator →

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