#2F3E6A#2F3E6A

#2F3E6A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.078 H 268.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2F3E6A
RGBrgb(47, 62, 106)
HSLhsl(225, 39%, 30%)
HSVhsv(225, 56%, 42%)
CMYKcmyk(55.7%, 41.5%, 0%, 58.4%)
CIE-LABlab(26.99, 8.05, -27.60)
CIE-LCHlch(26.99, 28.75, 286.25°)
OKLaboklab(37.34% -0.0024 -0.0782)
OKLCHoklch(37.34% 0.078 268.3)
XYZxyz(5.4956, 5.0898, 14.3257)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E6A #6A5B2F
analogous
#2F5B6A #2F3E6A #3E2F6A
triadic
#2F3E6A #6A2F3E #3E6A2F
tetradic
#2F3E6A #6A2F5B #6A5B2F #2F6A3E
square
#2F3E6A #6A2F5B #6A5B2F #2F6A3E
split-complementary
#2F3E6A #6A3E2F #5B6A2F
monochromatic
#090C15 #1C2540 #2F3E6A #425794 #5C73B7

Accessibility & contrast

On white

10.41
#2F3E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F3E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E6A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E6A#FFFFFF#000000##FFFFFF
##2F3E6A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436C
Deuteranopia (green-blind)
#263D69
Tritanopia (blue-blind)
#12474F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3e6a;
/* rgb */ color: rgb(47, 62, 106);
/* oklch */ color: oklch(37.3% 0.078 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c7395',
    500: '#2f3e6a',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e6a;
$custom-light: #6c7395;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e6a",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 106
  },
  "hsl": {
    "h": 224.746,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.37342,
    "c": 0.0782,
    "h": 268.3
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#2F3E6A
secondary
#9B8B59
accent
#B159CE
background
#F6F6F9
surface
#ECECF1
border
#C7C7CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2F3E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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