#2F467F#2F467F

#2F467F is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.100 H 265.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2F467F
RGBrgb(47, 70, 127)
HSLhsl(223, 46%, 34%)
HSVhsv(223, 63%, 50%)
CMYKcmyk(63%, 44.9%, 0%, 50.2%)
CIE-LABlab(30.68, 10.28, -34.99)
CIE-LCHlch(30.68, 36.46, 286.37°)
OKLaboklab(40.6% -0.0076 -0.0997)
OKLCHoklch(40.6% 0.1 265.6)
XYZxyz(7.1919, 6.5163, 20.9533)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F467F #7F682F
analogous
#2F6E7F #2F467F #402F7F
triadic
#2F467F #7F2F46 #467F2F
tetradic
#2F467F #7F2F6E #7F682F #2F7F40
square
#2F467F #7F2F6E #7F682F #2F7F40
split-complementary
#2F467F #7F402F #6E7F2F
monochromatic
#0E1526 #1E2D52 #2F467F #405FAC #637FC5

Accessibility & contrast

On white

9.12
#2F467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F467F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F467F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F467F#FFFFFF#000000##FFFFFF
##2F467F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f467f;
/* rgb */ color: rgb(47, 70, 127);
/* oklch */ color: oklch(40.6% 0.100 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f79a4',
    500: '#2f467f',
    950: '#000000',
  },
}
SCSS
$custom: #2f467f;
$custom-light: #6f79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f467f",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 222.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.09999,
    "h": 265.6
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#2F467F
secondary
#AC965E
accent
#B052D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F467F

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

Preview Lab → · Contrast checker → · Palette generator →

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