#2F3293#2F3293

#2F3293 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.156 H 274.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2F3293
RGBrgb(47, 50, 147)
HSLhsl(238, 52%, 38%)
HSVhsv(238, 68%, 58%)
CMYKcmyk(68%, 66%, 0%, 42.4%)
CIE-LABlab(26.71, 31.10, -53.79)
CIE-LCHlch(26.71, 62.13, 300.03°)
OKLaboklab(38.09% 0.013 -0.1552)
OKLCHoklch(38.09% 0.156 274.8)
XYZxyz(7.5776, 4.9915, 28.1622)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3293 #93902F
analogous
#2F6493 #2F3293 #5E2F93
triadic
#2F3293 #932F32 #32932F
tetradic
#2F3293 #932F64 #93902F #2F935E
square
#2F3293 #932F64 #93902F #2F935E
split-complementary
#2F3293 #935E2F #64932F
monochromatic
#111236 #202265 #2F3293 #3E42C1 #6C6FD0

Accessibility & contrast

On white

10.51
#2F3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3293
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3293#FFFFFF#000000##FFFFFF
##2F32931.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3293;
/* rgb */ color: rgb(47, 50, 147);
/* oklch */ color: oklch(38.1% 0.156 274.8);
Tailwind
colors: {
  custom: {
    50: '#756ab4',
    500: '#2f3293',
    950: '#000000',
  },
}
SCSS
$custom: #2f3293;
$custom-light: #756ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3293",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 238.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.15575,
    "h": 274.8
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#2F3293
secondary
#B7B566
accent
#D74DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3293

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

Preview Lab → · Contrast checker → · Palette generator →

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