#2F384E#2F384E

#2F384E is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.2% C 0.041 H 267.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2F384E
RGBrgb(47, 56, 78)
HSLhsl(223, 25%, 25%)
HSVhsv(223, 40%, 31%)
CMYKcmyk(39.7%, 28.2%, 0%, 69.4%)
CIE-LABlab(23.61, 2.60, -14.64)
CIE-LCHlch(23.61, 14.87, 280.08°)
OKLaboklab(34.24% -0.0021 -0.0406)
OKLCHoklch(34.24% 0.041 267.1)
XYZxyz(3.9612, 3.9826, 7.7662)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F384E #4E452F
analogous
#2F484E #2F384E #362F4E
triadic
#2F384E #4E2F38 #384E2F
tetradic
#2F384E #4E2F48 #4E452F #2F4E36
square
#2F384E #4E2F48 #4E452F #2F4E36
split-complementary
#2F384E #4E362F #484E2F
monochromatic
#0C0E13 #181D28 #2F384E #465374 #5D6F9A

Accessibility & contrast

On white

11.69
#2F384E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F384E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F384E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F384E#FFFFFF#000000##FFFFFF
##2F384E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#263C40
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f384e;
/* rgb */ color: rgb(47, 56, 78);
/* oklch */ color: oklch(34.2% 0.041 267.1);
Tailwind
colors: {
  custom: {
    50: '#696e7f',
    500: '#2f384e',
    950: '#000000',
  },
}
SCSS
$custom: #2f384e;
$custom-light: #696e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f384e",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 78
  },
  "hsl": {
    "h": 222.581,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34236,
    "c": 0.04069,
    "h": 267.1
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#2F384E
secondary
#7F745A
accent
#A767C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2F384E

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

Preview Lab → · Contrast checker → · Palette generator →

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