#2F488E#2F488E

#2F488E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.120 H 266.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2F488E
RGBrgb(47, 72, 142)
HSLhsl(224, 50%, 37%)
HSVhsv(224, 67%, 56%)
CMYKcmyk(66.9%, 49.3%, 0%, 44.3%)
CIE-LABlab(32.24, 14.53, -41.75)
CIE-LCHlch(32.24, 44.21, 289.19°)
OKLaboklab(42.1% -0.0073 -0.1195)
OKLCHoklch(42.1% 0.12 266.5)
XYZxyz(8.3705, 7.1913, 26.5329)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F488E #8E752F
analogous
#2F788E #2F488E #462F8E
triadic
#2F488E #8E2F48 #488E2F
tetradic
#2F488E #8E2F78 #8E752F #2F8E46
square
#2F488E #8E2F78 #8E752F #2F8E46
split-complementary
#2F488E #8E462F #788E2F
monochromatic
#111932 #203160 #2F488E #3E5FBC #6A84CE

Accessibility & contrast

On white

8.61
#2F488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F488E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F488E#FFFFFF#000000##FFFFFF
##2F488E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f488e;
/* rgb */ color: rgb(47, 72, 142);
/* oklch */ color: oklch(42.1% 0.120 266.5);
Tailwind
colors: {
  custom: {
    50: '#727aaf',
    500: '#2f488e',
    950: '#000000',
  },
}
SCSS
$custom: #2f488e;
$custom-light: #727aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f488e",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 224.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.11977,
    "h": 266.5
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#2F488E
secondary
#B5A064
accent
#B54EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2F488E

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

Preview Lab → · Contrast checker → · Palette generator →

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