#2F498E#2F498E

#2F498E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.118 H 266.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2F498E
RGBrgb(47, 73, 142)
HSLhsl(224, 50%, 37%)
HSVhsv(224, 67%, 56%)
CMYKcmyk(66.9%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.53, 13.86, -41.29)
CIE-LCHlch(32.53, 43.55, 288.55°)
OKLaboklab(42.32% -0.0083 -0.1182)
OKLCHoklch(42.32% 0.118 266)
XYZxyz(8.4356, 7.3216, 26.5546)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F498E #8E742F
analogous
#2F798E #2F498E #452F8E
triadic
#2F498E #8E2F49 #498E2F
tetradic
#2F498E #8E2F79 #8E742F #2F8E45
square
#2F498E #8E2F79 #8E742F #2F8E45
split-complementary
#2F498E #8E452F #798E2F
monochromatic
#111A32 #203160 #2F498E #3E61BC #6A85CE

Accessibility & contrast

On white

8.52
#2F498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F498E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F498E#FFFFFF#000000##FFFFFF
##2F498E1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#12488D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f498e;
/* rgb */ color: rgb(47, 73, 142);
/* oklch */ color: oklch(42.3% 0.118 266.0);
Tailwind
colors: {
  custom: {
    50: '#727baf',
    500: '#2f498e',
    950: '#000000',
  },
}
SCSS
$custom: #2f498e;
$custom-light: #727baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f498e",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 223.579,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.11846,
    "h": 266
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F498E

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

Preview Lab → · Contrast checker → · Palette generator →

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