#2F3B60#2F3B60

#2F3B60 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.0% C 0.066 H 269.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2F3B60
RGBrgb(47, 59, 96)
HSLhsl(225, 34%, 28%)
HSVhsv(225, 51%, 38%)
CMYKcmyk(51%, 38.5%, 0%, 62.4%)
CIE-LABlab(25.49, 6.57, -23.52)
CIE-LCHlch(25.49, 24.42, 285.60°)
OKLaboklab(36% -0.0008 -0.0663)
OKLCHoklch(36% 0.066 269.3)
XYZxyz(4.8469, 4.5765, 11.6920)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B60 #60542F
analogous
#2F5360 #2F3B60 #3B2F60
triadic
#2F3B60 #602F3B #3B602F
tetradic
#2F3B60 #602F53 #60542F #2F603B
square
#2F3B60 #602F53 #60542F #2F603B
split-complementary
#2F3B60 #603B2F #53602F
monochromatic
#0A0D15 #1B2237 #2F3B60 #435489 #5B6FAF

Accessibility & contrast

On white

10.96
#2F3B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F3B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B60
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B60#FFFFFF#000000##FFFFFF
##2F3B601.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F62
Deuteranopia (green-blind)
#283A5F
Tritanopia (blue-blind)
#1C4349
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3b60;
/* rgb */ color: rgb(47, 59, 96);
/* oklch */ color: oklch(36.0% 0.066 269.3);
Tailwind
colors: {
  custom: {
    50: '#6b708d',
    500: '#2f3b60',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b60;
$custom-light: #6b708d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b60",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 96
  },
  "hsl": {
    "h": 225.306,
    "s": 34.266,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36,
    "c": 0.06629,
    "h": 269.3
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#2F3B60
secondary
#928459
accent
#B05DCA
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2F3B60

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

Preview Lab → · Contrast checker → · Palette generator →

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