#2F488F#2F488F

#2F488F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.121 H 266.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2F488F
RGBrgb(47, 72, 143)
HSLhsl(224, 51%, 37%)
HSVhsv(224, 67%, 56%)
CMYKcmyk(67.1%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.31, 14.91, -42.26)
CIE-LCHlch(32.31, 44.81, 289.43°)
OKLaboklab(42.18% -0.0071 -0.121)
OKLCHoklch(42.18% 0.121 266.6)
XYZxyz(8.4459, 7.2214, 26.9301)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F488F #8F762F
analogous
#2F788F #2F488F #462F8F
triadic
#2F488F #8F2F48 #488F2F
tetradic
#2F488F #8F2F78 #8F762F #2F8F46
square
#2F488F #8F2F78 #8F762F #2F8F46
split-complementary
#2F488F #8F462F #788F2F
monochromatic
#111A33 #203161 #2F488F #3E5FBD #6A84CE

Accessibility & contrast

On white

8.59
#2F488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F488F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F488F#FFFFFF#000000##FFFFFF
##2F488F1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#0C488E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f488f;
/* rgb */ color: rgb(47, 72, 143);
/* oklch */ color: oklch(42.2% 0.121 266.6);
Tailwind
colors: {
  custom: {
    50: '#727ab0',
    500: '#2f488f',
    950: '#000000',
  },
}
SCSS
$custom: #2f488f;
$custom-light: #727ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f488f",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 224.375,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.12125,
    "h": 266.6
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#2F488F
secondary
#B5A065
accent
#B64EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F488F

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

Preview Lab → · Contrast checker → · Palette generator →

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