#2F3F93#2F3F93

#2F3F93 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.139 H 270.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2F3F93
RGBrgb(47, 63, 147)
HSLhsl(230, 52%, 38%)
HSVhsv(230, 68%, 58%)
CMYKcmyk(68%, 57.1%, 0%, 42.4%)
CIE-LABlab(30.07, 22.48, -48.31)
CIE-LCHlch(30.07, 53.29, 294.95°)
OKLaboklab(40.58% 0.0019 -0.139)
OKLCHoklch(40.58% 0.139 270.8)
XYZxyz(8.2145, 6.2652, 28.3745)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F93 #93832F
analogous
#2F7193 #2F3F93 #512F93
triadic
#2F3F93 #932F3F #3F932F
tetradic
#2F3F93 #932F71 #93832F #2F9351
square
#2F3F93 #932F71 #93832F #2F9351
split-complementary
#2F3F93 #93512F #71932F
monochromatic
#111736 #202B65 #2F3F93 #3E53C1 #6C7CD0

Accessibility & contrast

On white

9.32
#2F3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F3F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F93
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F93#FFFFFF#000000##FFFFFF
##2F3F931.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3f93;
/* rgb */ color: rgb(47, 63, 147);
/* oklch */ color: oklch(40.6% 0.139 270.8);
Tailwind
colors: {
  custom: {
    50: '#7473b3',
    500: '#2f3f93',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f93;
$custom-light: #7473b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f93",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 230.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.139,
    "h": 270.8
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#2F3F93
secondary
#B7AA66
accent
#C44DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3F93

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

Preview Lab → · Contrast checker → · Palette generator →

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