#2F3E93#2F3E93

#2F3E93 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.140 H 271.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2F3E93
RGBrgb(47, 62, 147)
HSLhsl(231, 52%, 38%)
HSVhsv(231, 68%, 58%)
CMYKcmyk(68%, 57.8%, 0%, 42.4%)
CIE-LABlab(29.80, 23.15, -48.75)
CIE-LCHlch(29.80, 53.97, 295.40°)
OKLaboklab(40.38% 0.0028 -0.1403)
OKLCHoklch(40.38% 0.14 271.1)
XYZxyz(8.1596, 6.1554, 28.3562)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E93 #93842F
analogous
#2F7093 #2F3E93 #522F93
triadic
#2F3E93 #932F3E #3E932F
tetradic
#2F3E93 #932F70 #93842F #2F9352
square
#2F3E93 #932F70 #93842F #2F9352
split-complementary
#2F3E93 #93522F #70932F
monochromatic
#111736 #202A65 #2F3E93 #3E52C1 #6C7BD0

Accessibility & contrast

On white

9.41
#2F3E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F3E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E93
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E93#FFFFFF#000000##FFFFFF
##2F3E931.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f3e93;
/* rgb */ color: rgb(47, 62, 147);
/* oklch */ color: oklch(40.4% 0.140 271.1);
Tailwind
colors: {
  custom: {
    50: '#7473b3',
    500: '#2f3e93',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e93;
$custom-light: #7473b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e93",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 231,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.14032,
    "h": 271.1
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#2F3E93
secondary
#B7AB66
accent
#C64DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3E93

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

Preview Lab → · Contrast checker → · Palette generator →

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