#2F498A#2F498A

#2F498A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.113 H 265.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2F498A
RGBrgb(47, 73, 138)
HSLhsl(223, 49%, 36%)
HSVhsv(223, 66%, 54%)
CMYKcmyk(65.9%, 47.1%, 0%, 45.9%)
CIE-LABlab(32.27, 12.36, -39.25)
CIE-LCHlch(32.27, 41.15, 287.47°)
OKLaboklab(42.04% -0.0089 -0.1122)
OKLCHoklch(42.04% 0.113 265.4)
XYZxyz(8.1407, 7.2037, 25.0013)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F498A #8A702F
analogous
#2F778A #2F498A #432F8A
triadic
#2F498A #8A2F49 #498A2F
tetradic
#2F498A #8A2F77 #8A702F #2F8A43
square
#2F498A #8A2F77 #8A702F #2F8A43
split-complementary
#2F498A #8A432F #778A2F
monochromatic
#10192F #1F315C #2F498A #3F61B8 #6884CC

Accessibility & contrast

On white

8.60
#2F498A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F498A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F498A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F498A#FFFFFF#000000##FFFFFF
##2F498A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f498a;
/* rgb */ color: rgb(47, 73, 138);
/* oklch */ color: oklch(42.0% 0.113 265.4);
Tailwind
colors: {
  custom: {
    50: '#717bac',
    500: '#2f498a',
    950: '#000000',
  },
}
SCSS
$custom: #2f498a;
$custom-light: #717bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f498a",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 138
  },
  "hsl": {
    "h": 222.857,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.11254,
    "h": 265.4
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#2F498A
secondary
#B39C62
accent
#B14FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2F498A

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

Preview Lab → · Contrast checker → · Palette generator →

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