#2F3690#2F3690

#2F3690 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.147 H 273.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2F3690
RGBrgb(47, 54, 144)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 67%, 56%)
CMYKcmyk(67.4%, 62.5%, 0%, 43.5%)
CIE-LABlab(27.45, 27.40, -50.73)
CIE-LCHlch(27.45, 57.66, 298.37°)
OKLaboklab(38.56% 0.0099 -0.1462)
OKLCHoklch(38.56% 0.147 273.9)
XYZxyz(7.5238, 5.2556, 26.9981)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3690 #90892F
analogous
#2F6790 #2F3690 #582F90
triadic
#2F3690 #902F36 #36902F
tetradic
#2F3690 #902F67 #90892F #2F9058
square
#2F3690 #902F67 #90892F #2F9058
split-complementary
#2F3690 #90582F #67902F
monochromatic
#111334 #202562 #2F3690 #3E47BE #6B72CF

Accessibility & contrast

On white

10.24
#2F3690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F3690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3690
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3690#FFFFFF#000000##FFFFFF
##2F36901.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f3690;
/* rgb */ color: rgb(47, 54, 144);
/* oklch */ color: oklch(38.6% 0.147 273.9);
Tailwind
colors: {
  custom: {
    50: '#746db1',
    500: '#2f3690',
    950: '#000000',
  },
}
SCSS
$custom: #2f3690;
$custom-light: #746db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3690",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 144
  },
  "hsl": {
    "h": 235.67,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.14653,
    "h": 273.9
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#2F3690
secondary
#B6B065
accent
#D04EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3690

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

Preview Lab → · Contrast checker → · Palette generator →

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