#2F299C#2F299C

#2F299C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.178 H 275.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2F299C
RGBrgb(47, 41, 156)
HSLhsl(243, 58%, 39%)
HSVhsv(243, 74%, 61%)
CMYKcmyk(69.9%, 73.7%, 0%, 38.8%)
CIE-LABlab(25.53, 39.77, -61.24)
CIE-LCHlch(25.53, 73.02, 303.00°)
OKLaboklab(37.51% 0.0181 -0.177)
OKLCHoklch(37.51% 0.178 275.8)
XYZxyz(7.9640, 4.5898, 31.9123)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F299C #969C29
analogous
#295C9C #2F299C #68299C
triadic
#2F299C #9C2F29 #299C2F
tetradic
#2F299C #9C295C #969C29 #299C68
square
#2F299C #9C295C #969C29 #299C68
split-complementary
#2F299C #9C6829 #5C9C29
monochromatic
#12103B #201C6C #2F299C #3F38CB #6E68D7

Accessibility & contrast

On white

10.95
#2F299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F299C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F299C#FFFFFF#000000##FFFFFF
##2F299C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f299c;
/* rgb */ color: rgb(47, 41, 156);
/* oklch */ color: oklch(37.5% 0.178 275.8);
Tailwind
colors: {
  custom: {
    50: '#7864ba',
    500: '#2f299c',
    950: '#000000',
  },
}
SCSS
$custom: #2f299c;
$custom-light: #7864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f299c",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 243.13,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37505,
    "c": 0.17792,
    "h": 275.8
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#2F299C
secondary
#B9BE63
accent
#E246D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2F299C

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

Preview Lab → · Contrast checker → · Palette generator →

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