#2F467E#2F467E

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

Color values

HEX#2F467E
RGBrgb(47, 70, 126)
HSLhsl(223, 46%, 34%)
HSVhsv(223, 63%, 49%)
CMYKcmyk(62.7%, 44.4%, 0%, 50.6%)
CIE-LABlab(30.62, 9.91, -34.46)
CIE-LCHlch(30.62, 35.86, 286.04°)
OKLaboklab(40.53% -0.0078 -0.0982)
OKLCHoklch(40.53% 0.098 265.4)
XYZxyz(7.1271, 6.4904, 20.6118)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F467E #7E672F
analogous
#2F6E7E #2F467E #402F7E
triadic
#2F467E #7E2F46 #467E2F
tetradic
#2F467E #7E2F6E #7E672F #2F7E40
square
#2F467E #7E2F6E #7E672F #2F7E40
split-complementary
#2F467E #7E402F #6E7E2F
monochromatic
#0E1425 #1E2D51 #2F467E #405FAB #637FC5

Accessibility & contrast

On white

9.14
#2F467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F467E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F467E#FFFFFF#000000##FFFFFF
##2F467E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f467e;
/* rgb */ color: rgb(47, 70, 126);
/* oklch */ color: oklch(40.5% 0.098 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f79a4',
    500: '#2f467e',
    950: '#000000',
  },
}
SCSS
$custom: #2f467e;
$custom-light: #6f79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f467e",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 222.532,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40527,
    "c": 0.09847,
    "h": 265.4
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#2F467E
secondary
#AC955D
accent
#AF52D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2F467E

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

Preview Lab → · Contrast checker → · Palette generator →

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