#2F366D#2F366D

#2F366D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.095 H 275.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2F366D
RGBrgb(47, 54, 109)
HSLhsl(233, 40%, 31%)
HSVhsv(233, 57%, 43%)
CMYKcmyk(56.9%, 50.5%, 0%, 57.3%)
CIE-LABlab(24.79, 14.63, -33.04)
CIE-LCHlch(24.79, 36.13, 293.89°)
OKLaboklab(35.72% 0.0084 -0.0942)
OKLCHoklch(35.72% 0.095 275.1)
XYZxyz(5.2509, 4.3464, 15.0273)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F366D #6D662F
analogous
#2F556D #2F366D #472F6D
triadic
#2F366D #6D2F36 #366D2F
tetradic
#2F366D #6D2F55 #6D662F #2F6D47
square
#2F366D #6D2F55 #6D662F #2F6D47
split-complementary
#2F366D #6D472F #556D2F
monochromatic
#0A0C17 #1D2142 #2F366D #414B98 #5D68B9

Accessibility & contrast

On white

11.23
#2F366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F366D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F366D#FFFFFF#000000##FFFFFF
##2F366D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E6F
Deuteranopia (green-blind)
#15386C
Tritanopia (blue-blind)
#11424C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f366d;
/* rgb */ color: rgb(47, 54, 109);
/* oklch */ color: oklch(35.7% 0.095 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d6c97',
    500: '#2f366d',
    950: '#000000',
  },
}
SCSS
$custom: #2f366d;
$custom-light: #6d6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f366d",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 233.226,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35718,
    "c": 0.09453,
    "h": 275.1
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#2F366D
secondary
#9E9759
accent
#C258D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2F366D

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

Preview Lab → · Contrast checker → · Palette generator →

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