#2B294E#2B294E

#2B294E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.066 H 284.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#2B294E
RGBrgb(43, 41, 78)
HSLhsl(243, 31%, 23%)
HSVhsv(243, 47%, 31%)
CMYKcmyk(44.9%, 47.4%, 0%, 69.4%)
CIE-LABlab(18.58, 11.79, -22.55)
CIE-LCHlch(18.58, 25.44, 297.60°)
OKLaboklab(30.27% 0.0161 -0.0636)
OKLCHoklch(30.27% 0.066 284.2)
XYZxyz(3.1640, 2.6494, 7.5509)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B294E #4C4E29
analogous
#29394E #2B294E #3D294E
triadic
#2B294E #4E2B29 #294E2B
tetradic
#2B294E #4E2939 #4C4E29 #294E3D
square
#2B294E #4E2939 #4C4E29 #294E3D
split-complementary
#2B294E #4E3D29 #394E29
monochromatic
#0B0B14 #151426 #2B294E #413E76 #57539E

Accessibility & contrast

On white

13.73
#2B294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B294E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B294E#FFFFFF#000000##FFFFFF
##2B294E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b294e;
/* rgb */ color: rgb(43, 41, 78);
/* oklch */ color: oklch(30.3% 0.066 284.2);
Tailwind
colors: {
  custom: {
    50: '#666280',
    500: '#2b294e',
    950: '#000000',
  },
}
SCSS
$custom: #2b294e;
$custom-light: #666280;
$custom-dark: #000000;
JSON
{
  "hex": "#2b294e",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 243.243,
    "s": 31.092,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30272,
    "c": 0.06563,
    "h": 284.2
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#2B294E
secondary
#7E8052
accent
#C761C2
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2B294E

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

Preview Lab → · Contrast checker → · Palette generator →

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