#2F466E#2F466E

#2F466E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.074 H 260.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2F466E
RGBrgb(47, 70, 110)
HSLhsl(218, 40%, 31%)
HSVhsv(218, 57%, 43%)
CMYKcmyk(57.3%, 36.4%, 0%, 56.9%)
CIE-LABlab(29.69, 4.08, -25.89)
CIE-LCHlch(29.69, 26.21, 278.96°)
OKLaboklab(39.51% -0.0117 -0.0731)
OKLCHoklch(39.51% 0.074 260.9)
XYZxyz(6.1760, 6.1100, 15.6027)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F466E #6E572F
analogous
#2F656E #2F466E #372F6E
triadic
#2F466E #6E2F46 #466E2F
tetradic
#2F466E #6E2F65 #6E572F #2F6E37
square
#2F466E #6E2F65 #6E572F #2F6E37
split-complementary
#2F466E #6E372F #656E2F
monochromatic
#0A0F18 #1D2B43 #2F466E #416199 #5D7FBA

Accessibility & contrast

On white

9.45
#2F466E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F466E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F466E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F466E#FFFFFF#000000##FFFFFF
##2F466E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#0A4F55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f466e;
/* rgb */ color: rgb(47, 70, 110);
/* oklch */ color: oklch(39.5% 0.074 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7998',
    500: '#2f466e',
    950: '#000000',
  },
}
SCSS
$custom: #2f466e;
$custom-light: #6d7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2f466e",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 110
  },
  "hsl": {
    "h": 218.095,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.07401,
    "h": 260.9
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#2F466E
secondary
#9F8659
accent
#A458D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2F466E

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

Preview Lab → · Contrast checker → · Palette generator →

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