#2F2B63#2F2B63

#2F2B63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.096 H 282.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2F2B63
RGBrgb(47, 43, 99)
HSLhsl(244, 39%, 28%)
HSVhsv(244, 57%, 39%)
CMYKcmyk(52.5%, 56.6%, 0%, 61.2%)
CIE-LABlab(20.95, 18.71, -32.71)
CIE-LCHlch(20.95, 37.68, 299.77°)
OKLaboklab(32.61% 0.0214 -0.0933)
OKLCHoklch(32.61% 0.096 282.9)
XYZxyz(4.2876, 3.2327, 12.2000)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B63 #5F632B
analogous
#2B4363 #2F2B63 #4B2B63
triadic
#2F2B63 #632F2B #2B632F
tetradic
#2F2B63 #632B43 #5F632B #2B634B
square
#2F2B63 #632B43 #5F632B #2B634B
split-complementary
#2F2B63 #634B2B #43632B
monochromatic
#0A0915 #1B1838 #2F2B63 #433E8E #5B54B5

Accessibility & contrast

On white

12.75
#2F2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2B63
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B63#FFFFFF#000000##FFFFFF
##2F2B631.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3465
Deuteranopia (green-blind)
#093062
Tritanopia (blue-blind)
#1C3742
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f2b63;
/* rgb */ color: rgb(47, 43, 99);
/* oklch */ color: oklch(32.6% 0.096 282.9);
Tailwind
colors: {
  custom: {
    50: '#6c6490',
    500: '#2f2b63',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b63;
$custom-light: #6c6490;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b63",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 244.286,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32609,
    "c": 0.09572,
    "h": 282.9
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#2F2B63
secondary
#919555
accent
#CF58C7
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2F2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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