#2F3695#2F3695

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

Color values

HEX#2F3695
RGBrgb(47, 54, 149)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 68%, 58%)
CMYKcmyk(68.5%, 63.8%, 0%, 41.6%)
CIE-LABlab(27.88, 29.21, -53.11)
CIE-LCHlch(27.88, 60.61, 298.81°)
OKLaboklab(39% 0.0097 -0.1532)
OKLCHoklch(39% 0.153 273.6)
XYZxyz(7.9145, 5.4119, 29.0555)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3695 #958E2F
analogous
#2F6995 #2F3695 #5B2F95
triadic
#2F3695 #952F36 #36952F
tetradic
#2F3695 #952F69 #958E2F #2F955B
square
#2F3695 #952F69 #958E2F #2F955B
split-complementary
#2F3695 #955B2F #69952F
monochromatic
#121438 #202566 #2F3695 #3F48C2 #6D74D1

Accessibility & contrast

On white

10.08
#2F3695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3695
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3695#FFFFFF#000000##FFFFFF
##2F36951.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f3695;
/* rgb */ color: rgb(47, 54, 149);
/* oklch */ color: oklch(39.0% 0.153 273.6);
Tailwind
colors: {
  custom: {
    50: '#756db5',
    500: '#2f3695',
    950: '#000000',
  },
}
SCSS
$custom: #2f3695;
$custom-light: #756db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3695",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 235.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.15349,
    "h": 273.6
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#2F3695
secondary
#B8B367
accent
#D24CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3695

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

Preview Lab → · Contrast checker → · Palette generator →

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