#2F296E#2F296E

#2F296E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.1% C 0.115 H 282.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#2F296E
RGBrgb(47, 41, 110)
HSLhsl(245, 46%, 30%)
HSVhsv(245, 63%, 43%)
CMYKcmyk(57.3%, 62.7%, 0%, 56.9%)
CIE-LABlab(21.27, 23.91, -39.35)
CIE-LCHlch(21.27, 46.05, 301.28°)
OKLaboklab(33.11% 0.024 -0.1129)
OKLCHoklch(33.11% 0.115 282)
XYZxyz(4.7788, 3.3157, 15.1370)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F296E #686E29
analogous
#29466E #2F296E #51296E
triadic
#2F296E #6E2F29 #296E2F
tetradic
#2F296E #6E2946 #686E29 #296E51
square
#2F296E #6E2946 #686E29 #296E51
split-complementary
#2F296E #6E5129 #466E29
monochromatic
#0A0816 #1C1841 #2F296E #423A9B #5C53BF

Accessibility & contrast

On white

12.63
#2F296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2F296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F296E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F296E#FFFFFF#000000##FFFFFF
##2F296E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#123947
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f296e;
/* rgb */ color: rgb(47, 41, 110);
/* oklch */ color: oklch(33.1% 0.115 282.0);
Tailwind
colors: {
  custom: {
    50: '#6e6398',
    500: '#2f296e',
    950: '#000000',
  },
}
SCSS
$custom: #2f296e;
$custom-light: #6e6398;
$custom-dark: #000000;
JSON
{
  "hex": "#2f296e",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 245.217,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33112,
    "c": 0.11538,
    "h": 282
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#2F296E
secondary
#99A053
accent
#D552CA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2F296E

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

Preview Lab → · Contrast checker → · Palette generator →

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