#2F2D63#2F2D63

#2F2D63 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.093 H 281.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2F2D63
RGBrgb(47, 45, 99)
HSLhsl(242, 38%, 28%)
HSVhsv(242, 55%, 39%)
CMYKcmyk(52.5%, 54.5%, 0%, 61.2%)
CIE-LABlab(21.51, 17.33, -31.81)
CIE-LCHlch(21.51, 36.22, 298.58°)
OKLaboklab(33.03% 0.0188 -0.0906)
OKLCHoklch(33.03% 0.093 281.7)
XYZxyz(4.3621, 3.3817, 12.2248)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D63 #61632D
analogous
#2D4663 #2F2D63 #4A2D63
triadic
#2F2D63 #632F2D #2D632F
tetradic
#2F2D63 #632D46 #61632D #2D634A
square
#2F2D63 #632D46 #61632D #2D634A
split-complementary
#2F2D63 #634A2D #46632D
monochromatic
#0A0A15 #1B1A39 #2F2D63 #43408D #5B58B3

Accessibility & contrast

On white

12.53
#2F2D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2F2D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D63
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D63#FFFFFF#000000##FFFFFF
##2F2D631.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133665
Deuteranopia (green-blind)
#0F3262
Tritanopia (blue-blind)
#1C3943
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2d63;
/* rgb */ color: rgb(47, 45, 99);
/* oklch */ color: oklch(33.0% 0.093 281.7);
Tailwind
colors: {
  custom: {
    50: '#6c6690',
    500: '#2f2d63',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d63;
$custom-light: #6c6690;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d63",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 242.222,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33028,
    "c": 0.09256,
    "h": 281.7
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#2F2D63
secondary
#939557
accent
#CD5AC9
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2F2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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