#2F4392#2F4392

#2F4392 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.132 H 269.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2F4392
RGBrgb(47, 67, 146)
HSLhsl(228, 51%, 38%)
HSVhsv(228, 68%, 57%)
CMYKcmyk(67.8%, 54.1%, 0%, 42.7%)
CIE-LABlab(31.10, 19.41, -46.04)
CIE-LCHlch(31.10, 49.96, 292.86°)
OKLaboklab(41.33% -0.0019 -0.1322)
OKLCHoklch(41.33% 0.132 269.2)
XYZxyz(8.3660, 6.6932, 28.0396)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4392 #927E2F
analogous
#2F7492 #2F4392 #4D2F92
triadic
#2F4392 #922F43 #43922F
tetradic
#2F4392 #922F74 #927E2F #2F924D
square
#2F4392 #922F74 #927E2F #2F924D
split-complementary
#2F4392 #924D2F #74922F
monochromatic
#111935 #202E64 #2F4392 #3E58C0 #6C80D0

Accessibility & contrast

On white

8.98
#2F4392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F4392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4392
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4392#FFFFFF#000000##FFFFFF
##2F43921.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4392;
/* rgb */ color: rgb(47, 67, 146);
/* oklch */ color: oklch(41.3% 0.132 269.2);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2f4392',
    950: '#000000',
  },
}
SCSS
$custom: #2f4392;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4392",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 227.879,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.13226,
    "h": 269.2
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#2F4392
secondary
#B7A666
accent
#BE4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4392

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

Preview Lab → · Contrast checker → · Palette generator →

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