#2F4F93#2F4F93

#2F4F93 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.118 H 263.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2F4F93
RGBrgb(47, 79, 147)
HSLhsl(221, 52%, 38%)
HSVhsv(221, 68%, 58%)
CMYKcmyk(68%, 46.3%, 0%, 42.4%)
CIE-LABlab(34.60, 11.72, -41.01)
CIE-LCHlch(34.60, 42.65, 285.96°)
OKLaboklab(44.02% -0.0136 -0.1172)
OKLCHoklch(44.02% 0.118 263.4)
XYZxyz(9.2329, 8.3020, 28.7140)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F93 #93732F
analogous
#2F8193 #2F4F93 #412F93
triadic
#2F4F93 #932F4F #4F932F
tetradic
#2F4F93 #932F81 #93732F #2F9341
square
#2F4F93 #932F81 #93732F #2F9341
split-complementary
#2F4F93 #93412F #81932F
monochromatic
#111D36 #203665 #2F4F93 #3E68C1 #6C8CD0

Accessibility & contrast

On white

7.89
#2F4F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F4F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4F93
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F93#FFFFFF#000000##FFFFFF
##2F4F931.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5696
Deuteranopia (green-blind)
#1B4D92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f4f93;
/* rgb */ color: rgb(47, 79, 147);
/* oklch */ color: oklch(44.0% 0.118 263.4);
Tailwind
colors: {
  custom: {
    50: '#737fb3',
    500: '#2f4f93',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f93;
$custom-light: #737fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f93",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 147
  },
  "hsl": {
    "h": 220.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.11804,
    "h": 263.4
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#2F4F93
secondary
#B79D66
accent
#AD4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F4F93

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

Preview Lab → · Contrast checker → · Palette generator →

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