#2F4065#2F4065

#2F4065 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.068 H 264.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2F4065
RGBrgb(47, 64, 101)
HSLhsl(221, 36%, 29%)
HSVhsv(221, 53%, 40%)
CMYKcmyk(53.5%, 36.6%, 0%, 60.4%)
CIE-LABlab(27.33, 4.92, -23.87)
CIE-LCHlch(27.33, 24.37, 281.64°)
OKLaboklab(37.51% -0.0063 -0.0672)
OKLCHoklch(37.51% 0.068 264.6)
XYZxyz(5.3539, 5.2104, 13.0330)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4065 #65542F
analogous
#2F5B65 #2F4065 #392F65
triadic
#2F4065 #652F40 #40652F
tetradic
#2F4065 #652F5B #65542F #2F6539
square
#2F4065 #652F5B #65542F #2F6539
split-complementary
#2F4065 #65392F #5B652F
monochromatic
#0A0D15 #1C263B #2F4065 #425A8F #5B77B3

Accessibility & contrast

On white

10.28
#2F4065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F4065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4065
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4065#FFFFFF#000000##FFFFFF
##2F40651.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324367
Deuteranopia (green-blind)
#2C3E64
Tritanopia (blue-blind)
#17484D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f4065;
/* rgb */ color: rgb(47, 64, 101);
/* oklch */ color: oklch(37.5% 0.068 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b7491',
    500: '#2f4065',
    950: '#000000',
  },
}
SCSS
$custom: #2f4065;
$custom-light: #6b7491;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4065",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 101
  },
  "hsl": {
    "h": 221.111,
    "s": 36.486,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3751,
    "c": 0.06754,
    "h": 264.6
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#2F4065
secondary
#978359
accent
#A95BCC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2F4065

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

Preview Lab → · Contrast checker → · Palette generator →

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