#2F448D#2F448D

#2F448D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.124 H 268.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2F448D
RGBrgb(47, 68, 141)
HSLhsl(227, 50%, 37%)
HSVhsv(227, 67%, 55%)
CMYKcmyk(66.7%, 51.8%, 0%, 44.7%)
CIE-LABlab(31.02, 16.86, -43.10)
CIE-LCHlch(31.02, 46.27, 291.36°)
OKLaboklab(41.16% -0.0034 -0.1236)
OKLCHoklch(41.16% 0.124 268.4)
XYZxyz(8.0455, 6.6609, 26.0558)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F448D #8D782F
analogous
#2F738D #2F448D #492F8D
triadic
#2F448D #8D2F44 #448D2F
tetradic
#2F448D #8D2F73 #8D782F #2F8D49
square
#2F448D #8D2F73 #8D782F #2F8D49
split-complementary
#2F448D #8D492F #738D2F
monochromatic
#101831 #202E5F #2F448D #3E5ABB #6980CD

Accessibility & contrast

On white

9.00
#2F448D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F448D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F448D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F448D#FFFFFF#000000##FFFFFF
##2F448D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f448d;
/* rgb */ color: rgb(47, 68, 141);
/* oklch */ color: oklch(41.2% 0.124 268.4);
Tailwind
colors: {
  custom: {
    50: '#7277af',
    500: '#2f448d',
    950: '#000000',
  },
}
SCSS
$custom: #2f448d;
$custom-light: #7277af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f448d",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 141
  },
  "hsl": {
    "h": 226.596,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.12362,
    "h": 268.4
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#2F448D
secondary
#B4A264
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F448D

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

Preview Lab → · Contrast checker → · Palette generator →

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