#2F3E66#2F3E66

#2F3E66 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.072 H 267.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2F3E66
RGBrgb(47, 62, 102)
HSLhsl(224, 37%, 29%)
HSVhsv(224, 54%, 40%)
CMYKcmyk(53.9%, 39.2%, 0%, 60%)
CIE-LABlab(26.76, 6.62, -25.40)
CIE-LCHlch(26.76, 26.25, 284.62°)
OKLaboklab(37.09% -0.0034 -0.0717)
OKLCHoklch(37.09% 0.072 267.3)
XYZxyz(5.2924, 5.0085, 13.2557)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E66 #66572F
analogous
#2F5A66 #2F3E66 #3C2F66
triadic
#2F3E66 #662F3E #3E662F
tetradic
#2F3E66 #662F5A #66572F #2F663C
square
#2F3E66 #662F5A #66572F #2F663C
split-complementary
#2F3E66 #663C2F #5A662F
monochromatic
#0A0D15 #1C253C #2F3E66 #425790 #5C74B4

Accessibility & contrast

On white

10.49
#2F3E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F3E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E66
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E66#FFFFFF#000000##FFFFFF
##2F3E661.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4268
Deuteranopia (green-blind)
#283D65
Tritanopia (blue-blind)
#16474D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3e66;
/* rgb */ color: rgb(47, 62, 102);
/* oklch */ color: oklch(37.1% 0.072 267.3);
Tailwind
colors: {
  custom: {
    50: '#6b7392',
    500: '#2f3e66',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e66;
$custom-light: #6b7392;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e66",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 102
  },
  "hsl": {
    "h": 223.636,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37089,
    "c": 0.07181,
    "h": 267.3
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#2F3E66
secondary
#988759
accent
#AE5BCD
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2F3E66

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

Preview Lab → · Contrast checker → · Palette generator →

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