#2F448B#2F448B

#2F448B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.121 H 268.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2F448B
RGBrgb(47, 68, 139)
HSLhsl(226, 49%, 36%)
HSVhsv(226, 66%, 55%)
CMYKcmyk(66.2%, 51.1%, 0%, 45.5%)
CIE-LABlab(30.88, 16.11, -42.09)
CIE-LCHlch(30.88, 45.07, 290.94°)
OKLaboklab(41% -0.0036 -0.1206)
OKLCHoklch(41% 0.121 268.3)
XYZxyz(7.8980, 6.6019, 25.2792)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F448B #8B762F
analogous
#2F728B #2F448B #482F8B
triadic
#2F448B #8B2F44 #448B2F
tetradic
#2F448B #8B2F72 #8B762F #2F8B48
square
#2F448B #8B2F72 #8B762F #2F8B48
split-complementary
#2F448B #8B482F #728B2F
monochromatic
#101730 #202E5D #2F448B #3E5AB9 #687FCC

Accessibility & contrast

On white

9.05
#2F448B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F448B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F448B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F448B#FFFFFF#000000##FFFFFF
##2F448B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#04458A
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f448b;
/* rgb */ color: rgb(47, 68, 139);
/* oklch */ color: oklch(41.0% 0.121 268.3);
Tailwind
colors: {
  custom: {
    50: '#7277ad',
    500: '#2f448b',
    950: '#000000',
  },
}
SCSS
$custom: #2f448b;
$custom-light: #7277ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f448b",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 139
  },
  "hsl": {
    "h": 226.304,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41004,
    "c": 0.12066,
    "h": 268.3
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#2F448B
secondary
#B3A163
accent
#B94FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2F448B

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

Preview Lab → · Contrast checker → · Palette generator →

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