#2F3892#2F3892

#2F3892 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.147 H 273.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2F3892
RGBrgb(47, 56, 146)
HSLhsl(235, 51%, 38%)
HSVhsv(235, 68%, 57%)
CMYKcmyk(67.8%, 61.6%, 0%, 42.7%)
CIE-LABlab(28.13, 26.80, -50.85)
CIE-LCHlch(28.13, 57.48, 297.79°)
OKLaboklab(39.11% 0.0081 -0.1465)
OKLCHoklch(39.11% 0.147 273.2)
XYZxyz(7.7730, 5.5073, 27.8419)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3892 #92892F
analogous
#2F6A92 #2F3892 #572F92
triadic
#2F3892 #922F38 #38922F
tetradic
#2F3892 #922F6A #92892F #2F9257
square
#2F3892 #922F6A #92892F #2F9257
split-complementary
#2F3892 #92572F #6A922F
monochromatic
#111435 #202664 #2F3892 #3E4AC0 #6C75D0

Accessibility & contrast

On white

9.99
#2F3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3892
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3892#FFFFFF#000000##FFFFFF
##2F38921.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f3892;
/* rgb */ color: rgb(47, 56, 146);
/* oklch */ color: oklch(39.1% 0.147 273.2);
Tailwind
colors: {
  custom: {
    50: '#746eb3',
    500: '#2f3892',
    950: '#000000',
  },
}
SCSS
$custom: #2f3892;
$custom-light: #746eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3892",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 234.545,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.14675,
    "h": 273.2
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#2F3892
secondary
#B7AF66
accent
#CE4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3892

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

Preview Lab → · Contrast checker → · Palette generator →

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