#2F364B#2F364B

#2F364B is a dark, muted blue. Relative luminance 0.038; OKLCH L 33.6% C 0.038 H 270.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2F364B
RGBrgb(47, 54, 75)
HSLhsl(225, 23%, 24%)
HSVhsv(225, 37%, 29%)
CMYKcmyk(37.3%, 28%, 0%, 70.6%)
CIE-LABlab(22.83, 3.02, -13.86)
CIE-LCHlch(22.83, 14.18, 282.29°)
OKLaboklab(33.58% 0 -0.0384)
OKLCHoklch(33.58% 0.038 270)
XYZxyz(3.7611, 3.7505, 7.1810)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F364B #4B442F
analogous
#2F444B #2F364B #362F4B
triadic
#2F364B #4B2F36 #364B2F
tetradic
#2F364B #4B2F44 #4B442F #2F4B36
square
#2F364B #4B2F44 #4B442F #2F4B36
split-complementary
#2F364B #4B362F #444B2F
monochromatic
#0C0E13 #171B25 #2F364B #475171 #5E6C96

Accessibility & contrast

On white

12.00
#2F364B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F364B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F364B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F364B#FFFFFF#000000##FFFFFF
##2F364B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384C
Deuteranopia (green-blind)
#2D354B
Tritanopia (blue-blind)
#273A3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f364b;
/* rgb */ color: rgb(47, 54, 75);
/* oklch */ color: oklch(33.6% 0.038 270.0);
Tailwind
colors: {
  custom: {
    50: '#686c7d',
    500: '#2f364b',
    950: '#000000',
  },
}
SCSS
$custom: #2f364b;
$custom-light: #686c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f364b",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 75
  },
  "hsl": {
    "h": 225,
    "s": 22.951,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.0384,
    "h": 270
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#2F364B
secondary
#7C735A
accent
#AA68BF
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060709
muted
#7A7A7B

Preview Lab

Preview with #2F364B

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

Preview Lab → · Contrast checker → · Palette generator →

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