#2F4366#2F4366

#2F4366 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.3% C 0.065 H 261.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2F4366
RGBrgb(47, 67, 102)
HSLhsl(218, 37%, 29%)
HSVhsv(218, 54%, 40%)
CMYKcmyk(53.9%, 34.3%, 0%, 60%)
CIE-LABlab(28.32, 3.25, -22.94)
CIE-LCHlch(28.32, 23.17, 278.07°)
OKLaboklab(38.3% -0.0101 -0.0645)
OKLCHoklch(38.3% 0.065 261.1)
XYZxyz(5.5769, 5.5776, 13.3505)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4366 #66522F
analogous
#2F5F66 #2F4366 #372F66
triadic
#2F4366 #662F43 #43662F
tetradic
#2F4366 #662F5F #66522F #2F6637
square
#2F4366 #662F5F #66522F #2F6637
split-complementary
#2F4366 #66372F #5F662F
monochromatic
#0A0E15 #1C273C #2F4366 #425F90 #5C7CB4

Accessibility & contrast

On white

9.93
#2F4366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F4366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4366
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4366#FFFFFF#000000##FFFFFF
##2F43661.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354667
Deuteranopia (green-blind)
#2F4065
Tritanopia (blue-blind)
#154B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4366;
/* rgb */ color: rgb(47, 67, 102);
/* oklch */ color: oklch(38.3% 0.065 261.1);
Tailwind
colors: {
  custom: {
    50: '#6b7692',
    500: '#2f4366',
    950: '#000000',
  },
}
SCSS
$custom: #2f4366;
$custom-light: #6b7692;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4366",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 218.182,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38301,
    "c": 0.06534,
    "h": 261.1
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#2F4366
secondary
#988159
accent
#A35BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2F4366

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

Preview Lab → · Contrast checker → · Palette generator →

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