#2F2F93#2F2F93

#2F2F93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.159 H 275.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2F2F93
RGBrgb(47, 47, 147)
HSLhsl(240, 52%, 38%)
HSVhsv(240, 68%, 58%)
CMYKcmyk(68%, 68%, 0%, 42.4%)
CIE-LABlab(25.99, 33.02, -54.97)
CIE-LCHlch(25.99, 64.12, 300.99°)
OKLaboklab(37.57% 0.0154 -0.1587)
OKLCHoklch(37.57% 0.159 275.5)
XYZxyz(7.4535, 4.7433, 28.1209)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F93 #93932F
analogous
#2F6193 #2F2F93 #612F93
triadic
#2F2F93 #932F2F #2F932F
tetradic
#2F2F93 #932F61 #93932F #2F9361
square
#2F2F93 #932F61 #93932F #2F9361
split-complementary
#2F2F93 #93612F #61932F
monochromatic
#111136 #202065 #2F2F93 #3E3EC1 #6C6CD0

Accessibility & contrast

On white

10.78
#2F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F93
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F93#FFFFFF#000000##FFFFFF
##2F2F931.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f2f93;
/* rgb */ color: rgb(47, 47, 147);
/* oklch */ color: oklch(37.6% 0.159 275.5);
Tailwind
colors: {
  custom: {
    50: '#7568b4',
    500: '#2f2f93',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f93;
$custom-light: #7568b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f93",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37568,
    "c": 0.1594,
    "h": 275.5
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#2F2F93
secondary
#B7B766
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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