#2F4494#2F4494

#2F4494 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.134 H 268.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2F4494
RGBrgb(47, 68, 148)
HSLhsl(228, 52%, 38%)
HSVhsv(228, 68%, 58%)
CMYKcmyk(68.2%, 54.1%, 0%, 42%)
CIE-LABlab(31.52, 19.48, -46.58)
CIE-LCHlch(31.52, 50.49, 292.70°)
OKLaboklab(41.69% -0.0027 -0.1338)
OKLCHoklch(41.69% 0.134 268.9)
XYZxyz(8.5829, 6.8759, 28.8861)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4494 #947F2F
analogous
#2F7694 #2F4494 #4C2F94
triadic
#2F4494 #942F44 #44942F
tetradic
#2F4494 #942F76 #947F2F #2F944C
square
#2F4494 #942F76 #947F2F #2F944C
split-complementary
#2F4494 #944C2F #76942F
monochromatic
#111937 #202F66 #2F4494 #3E5AC2 #6D82D1

Accessibility & contrast

On white

8.84
#2F4494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F4494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4494
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4494#FFFFFF#000000##FFFFFF
##2F44941.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F97
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4494;
/* rgb */ color: rgb(47, 68, 148);
/* oklch */ color: oklch(41.7% 0.134 268.9);
Tailwind
colors: {
  custom: {
    50: '#7477b4',
    500: '#2f4494',
    950: '#000000',
  },
}
SCSS
$custom: #2f4494;
$custom-light: #7477b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4494",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 148
  },
  "hsl": {
    "h": 227.525,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.13384,
    "h": 268.9
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4494

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

Preview Lab → · Contrast checker → · Palette generator →

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