#2F3679#2F3679

#2F3679 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.6% C 0.113 H 274.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2F3679
RGBrgb(47, 54, 121)
HSLhsl(234, 44%, 33%)
HSVhsv(234, 61%, 47%)
CMYKcmyk(61.2%, 55.4%, 0%, 52.5%)
CIE-LABlab(25.63, 18.99, -39.32)
CIE-LCHlch(25.63, 43.67, 295.78°)
OKLaboklab(36.63% 0.0096 -0.1126)
OKLCHoklch(36.63% 0.113 274.9)
XYZxyz(5.9415, 4.6227, 18.6646)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3679 #79722F
analogous
#2F5B79 #2F3679 #4D2F79
triadic
#2F3679 #792F36 #36792F
tetradic
#2F3679 #792F5B #79722F #2F794D
square
#2F3679 #792F5B #79722F #2F794D
split-complementary
#2F3679 #794D2F #5B792F
monochromatic
#0D0F21 #1E224D #2F3679 #404AA5 #616AC2

Accessibility & contrast

On white

10.91
#2F3679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3679
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3679#FFFFFF#000000##FFFFFF
##2F36791.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3679;
/* rgb */ color: rgb(47, 54, 121);
/* oklch */ color: oklch(36.6% 0.113 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ca0',
    500: '#2f3679',
    950: '#000000',
  },
}
SCSS
$custom: #2f3679;
$custom-light: #6f6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3679",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 234.324,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36628,
    "c": 0.11306,
    "h": 274.9
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#2F3679
secondary
#A8A15B
accent
#C854D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2F3679

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

Preview Lab → · Contrast checker → · Palette generator →

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