#2F3C93#2F3C93

#2F3C93 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.143 H 271.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2F3C93
RGBrgb(47, 60, 147)
HSLhsl(232, 52%, 38%)
HSVhsv(232, 68%, 58%)
CMYKcmyk(68%, 59.2%, 0%, 42.4%)
CIE-LABlab(29.27, 24.49, -49.62)
CIE-LCHlch(29.27, 55.34, 296.27°)
OKLaboklab(39.98% 0.0046 -0.1429)
OKLCHoklch(39.98% 0.143 271.8)
XYZxyz(8.0528, 5.9419, 28.3206)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C93 #93862F
analogous
#2F6E93 #2F3C93 #542F93
triadic
#2F3C93 #932F3C #3C932F
tetradic
#2F3C93 #932F6E #93862F #2F9354
square
#2F3C93 #932F6E #93862F #2F9354
split-complementary
#2F3C93 #93542F #6E932F
monochromatic
#111636 #202965 #2F3C93 #3E4FC1 #6C79D0

Accessibility & contrast

On white

9.60
#2F3C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F3C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C93
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C93#FFFFFF#000000##FFFFFF
##2F3C931.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f3c93;
/* rgb */ color: rgb(47, 60, 147);
/* oklch */ color: oklch(40.0% 0.143 271.8);
Tailwind
colors: {
  custom: {
    50: '#7471b3',
    500: '#2f3c93',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c93;
$custom-light: #7471b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c93",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 232.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.14295,
    "h": 271.8
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#2F3C93
secondary
#B7AD66
accent
#C94DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3C93

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

Preview Lab → · Contrast checker → · Palette generator →

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