#2F467A#2F467A

#2F467A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.092 H 264.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2F467A
RGBrgb(47, 70, 122)
HSLhsl(222, 44%, 33%)
HSVhsv(222, 61%, 48%)
CMYKcmyk(61.5%, 42.6%, 0%, 52.2%)
CIE-LABlab(30.37, 8.43, -32.35)
CIE-LCHlch(30.37, 33.43, 284.61°)
OKLaboklab(40.26% -0.0087 -0.092)
OKLCHoklch(40.26% 0.092 264.6)
XYZxyz(6.8741, 6.3892, 19.2796)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F467A #7A632F
analogous
#2F6B7A #2F467A #3D2F7A
triadic
#2F467A #7A2F46 #467A2F
tetradic
#2F467A #7A2F6B #7A632F #2F7A3D
square
#2F467A #7A2F6B #7A632F #2F7A3D
split-complementary
#2F467A #7A3D2F #6B7A2F
monochromatic
#0D1322 #1E2D4E #2F467A #405FA6 #617FC2

Accessibility & contrast

On white

9.22
#2F467A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F467A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F467A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F467A#FFFFFF#000000##FFFFFF
##2F467A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f467a;
/* rgb */ color: rgb(47, 70, 122);
/* oklch */ color: oklch(40.3% 0.092 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f79a1',
    500: '#2f467a',
    950: '#000000',
  },
}
SCSS
$custom: #2f467a;
$custom-light: #6f79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f467a",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 122
  },
  "hsl": {
    "h": 221.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4026,
    "c": 0.09238,
    "h": 264.6
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#2F467A
secondary
#A9915C
accent
#AD54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2F467A

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

Preview Lab → · Contrast checker → · Palette generator →

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