#2F467D#2F467D

#2F467D is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.097 H 265.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2F467D
RGBrgb(47, 70, 125)
HSLhsl(222, 45%, 34%)
HSVhsv(222, 62%, 49%)
CMYKcmyk(62.4%, 44%, 0%, 51%)
CIE-LABlab(30.56, 9.54, -33.94)
CIE-LCHlch(30.56, 35.25, 285.70°)
OKLaboklab(40.46% -0.008 -0.0966)
OKLCHoklch(40.46% 0.097 265.2)
XYZxyz(7.0629, 6.4647, 20.2737)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F467D #7D662F
analogous
#2F6D7D #2F467D #3F2F7D
triadic
#2F467D #7D2F46 #467D2F
tetradic
#2F467D #7D2F6D #7D662F #2F7D3F
square
#2F467D #7D2F6D #7D662F #2F7D3F
split-complementary
#2F467D #7D3F2F #6D7D2F
monochromatic
#0E1424 #1E2D51 #2F467D #405FA9 #627FC4

Accessibility & contrast

On white

9.16
#2F467D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2F467D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F467D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F467D#FFFFFF#000000##FFFFFF
##2F467D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f467d;
/* rgb */ color: rgb(47, 70, 125);
/* oklch */ color: oklch(40.5% 0.097 265.2);
Tailwind
colors: {
  custom: {
    50: '#6f79a3',
    500: '#2f467d',
    950: '#000000',
  },
}
SCSS
$custom: #2f467d;
$custom-light: #6f79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f467d",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 125
  },
  "hsl": {
    "h": 222.308,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.09695,
    "h": 265.2
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#2F467D
secondary
#AB945D
accent
#AF53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F467D

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

Preview Lab → · Contrast checker → · Palette generator →

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