#2F4993#2F4993

#2F4993 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.126 H 266.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2F4993
RGBrgb(47, 73, 147)
HSLhsl(224, 52%, 38%)
HSVhsv(224, 68%, 58%)
CMYKcmyk(68%, 50.3%, 0%, 42.4%)
CIE-LABlab(32.87, 15.74, -43.80)
CIE-LCHlch(32.87, 46.54, 289.76°)
OKLaboklab(42.69% -0.0076 -0.1256)
OKLCHoklch(42.69% 0.126 266.5)
XYZxyz(8.8195, 7.4752, 28.5762)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4993 #93792F
analogous
#2F7B93 #2F4993 #472F93
triadic
#2F4993 #932F49 #49932F
tetradic
#2F4993 #932F7B #93792F #2F9347
square
#2F4993 #932F7B #93792F #2F9347
split-complementary
#2F4993 #93472F #7B932F
monochromatic
#111B36 #203265 #2F4993 #3E60C1 #6C86D0

Accessibility & contrast

On white

8.42
#2F4993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F4993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4993
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4993#FFFFFF#000000##FFFFFF
##2F49931.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205296
Deuteranopia (green-blind)
#044991
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4993;
/* rgb */ color: rgb(47, 73, 147);
/* oklch */ color: oklch(42.7% 0.126 266.5);
Tailwind
colors: {
  custom: {
    50: '#737bb3',
    500: '#2f4993',
    950: '#000000',
  },
}
SCSS
$custom: #2f4993;
$custom-light: #737bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4993",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 147
  },
  "hsl": {
    "h": 224.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.12579,
    "h": 266.5
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#2F4993
secondary
#B7A266
accent
#B64DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4993

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

Preview Lab → · Contrast checker → · Palette generator →

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