#2B297C#2B297C

#2B297C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.136 H 277.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2B297C
RGBrgb(43, 41, 124)
HSLhsl(241, 50%, 32%)
HSVhsv(241, 67%, 49%)
CMYKcmyk(65.3%, 66.9%, 0%, 51.4%)
CIE-LABlab(22.14, 28.13, -46.91)
CIE-LCHlch(22.14, 54.70, 300.95°)
OKLaboklab(34.04% 0.0175 -0.1352)
OKLCHoklch(34.04% 0.136 277.4)
XYZxyz(5.4261, 3.5543, 19.4650)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B297C #7A7C29
analogous
#29507C #2B297C #55297C
triadic
#2B297C #7C2B29 #297C2B
tetradic
#2B297C #7C2950 #7A7C29 #297C55
square
#2B297C #7C2950 #7A7C29 #297C55
split-complementary
#2B297C #7C5529 #507C29
monochromatic
#0B0B20 #1B1A4E #2B297C #3B38AA #5A58C8

Accessibility & contrast

On white

12.27
#2B297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B297C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B297C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B297C#FFFFFF#000000##FFFFFF
##2B297C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b297c;
/* rgb */ color: rgb(43, 41, 124);
/* oklch */ color: oklch(34.0% 0.136 277.4);
Tailwind
colors: {
  custom: {
    50: '#6f63a3',
    500: '#2b297c',
    950: '#000000',
  },
}
SCSS
$custom: #2b297c;
$custom-light: #6f63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b297c",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 241.446,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34043,
    "c": 0.13631,
    "h": 277.4
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#2B297C
secondary
#ABAD54
accent
#DA4ED6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B297C

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

Preview Lab → · Contrast checker → · Palette generator →

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