#2F3597#2F3597

#2F3597 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.157 H 273.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2F3597
RGBrgb(47, 53, 151)
HSLhsl(237, 53%, 39%)
HSVhsv(237, 69%, 59%)
CMYKcmyk(68.9%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.80, 30.59, -54.46)
CIE-LCHlch(27.80, 62.46, 299.32°)
OKLaboklab(39% 0.0104 -0.1571)
OKLCHoklch(39% 0.157 273.8)
XYZxyz(8.0294, 5.3842, 29.8883)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3597 #97912F
analogous
#2F6997 #2F3597 #5D2F97
triadic
#2F3597 #972F35 #35972F
tetradic
#2F3597 #972F69 #97912F #2F975D
square
#2F3597 #972F69 #97912F #2F975D
split-complementary
#2F3597 #975D2F #69972F
monochromatic
#12143A #202568 #2F3597 #4047C3 #6E74D2

Accessibility & contrast

On white

10.11
#2F3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3597
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3597#FFFFFF#000000##FFFFFF
##2F35971.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f3597;
/* rgb */ color: rgb(47, 53, 151);
/* oklch */ color: oklch(39.0% 0.157 273.8);
Tailwind
colors: {
  custom: {
    50: '#766cb6',
    500: '#2f3597',
    950: '#000000',
  },
}
SCSS
$custom: #2f3597;
$custom-light: #766cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3597",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 236.538,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39,
    "c": 0.15748,
    "h": 273.8
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#2F3597
secondary
#B9B568
accent
#D44CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3597

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

Preview Lab → · Contrast checker → · Palette generator →

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