#2F3697#2F3697

#2F3697 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.156 H 273.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2F3697
RGBrgb(47, 54, 151)
HSLhsl(236, 53%, 39%)
HSVhsv(236, 69%, 59%)
CMYKcmyk(68.9%, 64.2%, 0%, 40.8%)
CIE-LABlab(28.05, 29.94, -54.05)
CIE-LCHlch(28.05, 61.79, 298.98°)
OKLaboklab(39.18% 0.0096 -0.1559)
OKLCHoklch(39.18% 0.156 273.5)
XYZxyz(8.0755, 5.4763, 29.9036)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3697 #97902F
analogous
#2F6A97 #2F3697 #5C2F97
triadic
#2F3697 #972F36 #36972F
tetradic
#2F3697 #972F6A #97902F #2F975C
square
#2F3697 #972F6A #97902F #2F975C
split-complementary
#2F3697 #975C2F #6A972F
monochromatic
#12153A #202568 #2F3697 #4049C3 #6E75D2

Accessibility & contrast

On white

10.02
#2F3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3697
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3697#FFFFFF#000000##FFFFFF
##2F36971.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f3697;
/* rgb */ color: rgb(47, 54, 151);
/* oklch */ color: oklch(39.2% 0.156 273.5);
Tailwind
colors: {
  custom: {
    50: '#756db6',
    500: '#2f3697',
    950: '#000000',
  },
}
SCSS
$custom: #2f3697;
$custom-light: #756db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3697",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 235.962,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.15624,
    "h": 273.5
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#2F3697
secondary
#B9B468
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3697

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

Preview Lab → · Contrast checker → · Palette generator →

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