#2F448F#2F448F

#2F448F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.127 H 268.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2F448F
RGBrgb(47, 68, 143)
HSLhsl(227, 51%, 37%)
HSVhsv(227, 67%, 56%)
CMYKcmyk(67.1%, 52.4%, 0%, 43.9%)
CIE-LABlab(31.16, 17.60, -44.10)
CIE-LCHlch(31.16, 47.48, 291.76°)
OKLaboklab(41.31% -0.0031 -0.1265)
OKLCHoklch(41.31% 0.127 268.6)
XYZxyz(8.1956, 6.7210, 26.8467)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F448F #8F7A2F
analogous
#2F748F #2F448F #4A2F8F
triadic
#2F448F #8F2F44 #448F2F
tetradic
#2F448F #8F2F74 #8F7A2F #2F8F4A
square
#2F448F #8F2F74 #8F7A2F #2F8F4A
split-complementary
#2F448F #8F4A2F #748F2F
monochromatic
#111833 #202E61 #2F448F #3E5ABD #6A80CE

Accessibility & contrast

On white

8.96
#2F448F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F448F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F448F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F448F#FFFFFF#000000##FFFFFF
##2F448F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f448f;
/* rgb */ color: rgb(47, 68, 143);
/* oklch */ color: oklch(41.3% 0.127 268.6);
Tailwind
colors: {
  custom: {
    50: '#7377b0',
    500: '#2f448f',
    950: '#000000',
  },
}
SCSS
$custom: #2f448f;
$custom-light: #7377b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f448f",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 143
  },
  "hsl": {
    "h": 226.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.12655,
    "h": 268.6
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#2F448F
secondary
#B5A465
accent
#BB4EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F448F

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

Preview Lab → · Contrast checker → · Palette generator →

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