#2F498F#2F498F

#2F498F is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.120 H 266.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2F498F
RGBrgb(47, 73, 143)
HSLhsl(224, 51%, 37%)
HSVhsv(224, 67%, 56%)
CMYKcmyk(67.1%, 49%, 0%, 43.9%)
CIE-LABlab(32.59, 14.23, -41.79)
CIE-LCHlch(32.59, 44.15, 288.81°)
OKLaboklab(42.4% -0.0081 -0.1197)
OKLCHoklch(42.4% 0.12 266.1)
XYZxyz(8.5110, 7.3518, 26.9518)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F498F #8F752F
analogous
#2F798F #2F498F #452F8F
triadic
#2F498F #8F2F49 #498F2F
tetradic
#2F498F #8F2F79 #8F752F #2F8F45
square
#2F498F #8F2F79 #8F752F #2F8F45
split-complementary
#2F498F #8F452F #798F2F
monochromatic
#111A33 #203161 #2F498F #3E61BD #6A85CE

Accessibility & contrast

On white

8.50
#2F498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F498F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F498F#FFFFFF#000000##FFFFFF
##2F498F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255192
Deuteranopia (green-blind)
#10498E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f498f;
/* rgb */ color: rgb(47, 73, 143);
/* oklch */ color: oklch(42.4% 0.120 266.1);
Tailwind
colors: {
  custom: {
    50: '#727bb0',
    500: '#2f498f',
    950: '#000000',
  },
}
SCSS
$custom: #2f498f;
$custom-light: #727bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f498f",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 223.75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.11994,
    "h": 266.1
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#2F498F
secondary
#B59F65
accent
#B44EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F498F

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

Preview Lab → · Contrast checker → · Palette generator →

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