#2F4493#2F4493

#2F4493 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.132 H 268.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2F4493
RGBrgb(47, 68, 147)
HSLhsl(227, 52%, 38%)
HSVhsv(227, 68%, 58%)
CMYKcmyk(68%, 53.7%, 0%, 42.4%)
CIE-LABlab(31.45, 19.11, -46.08)
CIE-LCHlch(31.45, 49.89, 292.52°)
OKLaboklab(41.62% -0.0028 -0.1324)
OKLCHoklch(41.62% 0.132 268.8)
XYZxyz(8.5041, 6.8444, 28.4710)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4493 #937E2F
analogous
#2F7693 #2F4493 #4C2F93
triadic
#2F4493 #932F44 #44932F
tetradic
#2F4493 #932F76 #937E2F #2F934C
square
#2F4493 #932F76 #937E2F #2F934C
split-complementary
#2F4493 #934C2F #76932F
monochromatic
#111936 #202F65 #2F4493 #3E5AC1 #6C81D0

Accessibility & contrast

On white

8.86
#2F4493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F4493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4493
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4493#FFFFFF#000000##FFFFFF
##2F44931.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F96
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4493;
/* rgb */ color: rgb(47, 68, 147);
/* oklch */ color: oklch(41.6% 0.132 268.8);
Tailwind
colors: {
  custom: {
    50: '#7477b3',
    500: '#2f4493',
    950: '#000000',
  },
}
SCSS
$custom: #2f4493;
$custom-light: #7477b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4493",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 227.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41615,
    "c": 0.13239,
    "h": 268.8
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F4493

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

Preview Lab → · Contrast checker → · Palette generator →

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