#2F296A#2F296A

#2F296A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.8% C 0.109 H 282.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2F296A
RGBrgb(47, 41, 106)
HSLhsl(246, 44%, 29%)
HSVhsv(246, 61%, 42%)
CMYKcmyk(55.7%, 61.3%, 0%, 58.4%)
CIE-LABlab(20.94, 22.52, -37.29)
CIE-LCHlch(20.94, 43.56, 301.13°)
OKLaboklab(32.77% 0.0241 -0.1068)
OKLCHoklch(32.77% 0.109 282.7)
XYZxyz(4.5660, 3.2306, 14.0158)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F296A #646A29
analogous
#29446A #2F296A #50296A
triadic
#2F296A #6A2F29 #296A2F
tetradic
#2F296A #6A2944 #646A29 #296A50
square
#2F296A #6A2944 #646A29 #296A50
split-complementary
#2F296A #6A5029 #446A29
monochromatic
#0A0916 #1B183E #2F296A #433A96 #5B52BC

Accessibility & contrast

On white

12.76
#2F296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F296A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F296A#FFFFFF#000000##FFFFFF
##2F296A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#163845
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f296a;
/* rgb */ color: rgb(47, 41, 106);
/* oklch */ color: oklch(32.8% 0.109 282.7);
Tailwind
colors: {
  custom: {
    50: '#6d6395',
    500: '#2f296a',
    950: '#000000',
  },
}
SCSS
$custom: #2f296a;
$custom-light: #6d6395;
$custom-dark: #000000;
JSON
{
  "hex": "#2f296a",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 245.538,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32773,
    "c": 0.10945,
    "h": 282.7
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#2F296A
secondary
#969C52
accent
#D454C8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2F296A

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

Preview Lab → · Contrast checker → · Palette generator →

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