#2F3D93#2F3D93

#2F3D93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.142 H 271.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2F3D93
RGBrgb(47, 61, 147)
HSLhsl(232, 52%, 38%)
HSVhsv(232, 68%, 58%)
CMYKcmyk(68%, 58.5%, 0%, 42.4%)
CIE-LABlab(29.53, 23.82, -49.19)
CIE-LCHlch(29.53, 54.65, 295.84°)
OKLaboklab(40.17% 0.0037 -0.1416)
OKLCHoklch(40.17% 0.142 271.5)
XYZxyz(8.1057, 6.0477, 28.3383)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D93 #93852F
analogous
#2F6F93 #2F3D93 #532F93
triadic
#2F3D93 #932F3D #3D932F
tetradic
#2F3D93 #932F6F #93852F #2F9353
square
#2F3D93 #932F6F #93852F #2F9353
split-complementary
#2F3D93 #93532F #6F932F
monochromatic
#111736 #202A65 #2F3D93 #3E50C1 #6C7AD0

Accessibility & contrast

On white

9.50
#2F3D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F3D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D93
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D93#FFFFFF#000000##FFFFFF
##2F3D931.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3d93;
/* rgb */ color: rgb(47, 61, 147);
/* oklch */ color: oklch(40.2% 0.142 271.5);
Tailwind
colors: {
  custom: {
    50: '#7472b3',
    500: '#2f3d93',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d93;
$custom-light: #7472b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d93",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 231.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.14164,
    "h": 271.5
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#2F3D93
secondary
#B7AC66
accent
#C74DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3D93

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

Preview Lab → · Contrast checker → · Palette generator →

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