#2F2467#2F2467

#2F2467 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.6% C 0.112 H 285.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2F2467
RGBrgb(47, 36, 103)
HSLhsl(250, 48%, 27%)
HSVhsv(250, 65%, 40%)
CMYKcmyk(54.4%, 65%, 0%, 59.6%)
CIE-LABlab(19.41, 24.84, -37.81)
CIE-LCHlch(19.41, 45.24, 303.30°)
OKLaboklab(31.57% 0.03 -0.1083)
OKLCHoklch(31.57% 0.112 285.5)
XYZxyz(4.2506, 2.8451, 13.1545)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2467 #5C6724
analogous
#243B67 #2F2467 #512467
triadic
#2F2467 #672F24 #24672F
tetradic
#2F2467 #67243B #5C6724 #246751
square
#2F2467 #67243B #5C6724 #246751
split-complementary
#2F2467 #675124 #3B6724
monochromatic
#0A0817 #1A143A #2F2467 #443494 #5A47BF

Accessibility & contrast

On white

13.38
#2F2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2F2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2467
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2467#FFFFFF#000000##FFFFFF
##2F24671.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#1A3441
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f2467;
/* rgb */ color: rgb(47, 36, 103);
/* oklch */ color: oklch(31.6% 0.112 285.5);
Tailwind
colors: {
  custom: {
    50: '#6d5f93',
    500: '#2f2467',
    950: '#000000',
  },
}
SCSS
$custom: #2f2467;
$custom-light: #6d5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2467",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 249.851,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3157,
    "c": 0.11244,
    "h": 285.5
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#2F2467
secondary
#8E9A4C
accent
#D850C1
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2F2467

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

Preview Lab → · Contrast checker → · Palette generator →

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