#2F488D#2F488D

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

Color values

HEX#2F488D
RGBrgb(47, 72, 141)
HSLhsl(224, 50%, 37%)
HSVhsv(224, 67%, 55%)
CMYKcmyk(66.7%, 48.9%, 0%, 44.7%)
CIE-LABlab(32.17, 14.15, -41.25)
CIE-LCHlch(32.17, 43.61, 288.94°)
OKLaboklab(42.03% -0.0074 -0.1181)
OKLCHoklch(42.03% 0.118 266.4)
XYZxyz(8.2957, 7.1614, 26.1392)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F488D #8D742F
analogous
#2F778D #2F488D #452F8D
triadic
#2F488D #8D2F48 #488D2F
tetradic
#2F488D #8D2F77 #8D742F #2F8D45
square
#2F488D #8D2F77 #8D742F #2F8D45
split-complementary
#2F488D #8D452F #778D2F
monochromatic
#101931 #20315F #2F488D #3E5FBB #6984CD

Accessibility & contrast

On white

8.63
#2F488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F488D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F488D#FFFFFF#000000##FFFFFF
##2F488D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f488d;
/* rgb */ color: rgb(47, 72, 141);
/* oklch */ color: oklch(42.0% 0.118 266.4);
Tailwind
colors: {
  custom: {
    50: '#727aaf',
    500: '#2f488d',
    950: '#000000',
  },
}
SCSS
$custom: #2f488d;
$custom-light: #727aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f488d",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 224.043,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.1183,
    "h": 266.4
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#2F488D
secondary
#B49F64
accent
#B44EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F488D

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

Preview Lab → · Contrast checker → · Palette generator →

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