#2F3490#2F3490

#2F3490 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.149 H 274.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2F3490
RGBrgb(47, 52, 144)
HSLhsl(237, 51%, 37%)
HSVhsv(237, 67%, 56%)
CMYKcmyk(67.4%, 63.9%, 0%, 43.5%)
CIE-LABlab(26.94, 28.72, -51.56)
CIE-LCHlch(26.94, 59.02, 299.12°)
OKLaboklab(38.18% 0.0116 -0.1486)
OKLCHoklch(38.18% 0.149 274.5)
XYZxyz(7.4327, 5.0733, 26.9677)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3490 #908B2F
analogous
#2F6590 #2F3490 #5A2F90
triadic
#2F3490 #902F34 #34902F
tetradic
#2F3490 #902F65 #908B2F #2F905A
square
#2F3490 #902F65 #908B2F #2F905A
split-complementary
#2F3490 #905A2F #65902F
monochromatic
#111334 #202362 #2F3490 #3E45BE #6B70CF

Accessibility & contrast

On white

10.42
#2F3490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F3490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3490
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3490#FFFFFF#000000##FFFFFF
##2F34901.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3490;
/* rgb */ color: rgb(47, 52, 144);
/* oklch */ color: oklch(38.2% 0.149 274.5);
Tailwind
colors: {
  custom: {
    50: '#746bb1',
    500: '#2f3490',
    950: '#000000',
  },
}
SCSS
$custom: #2f3490;
$custom-light: #746bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3490",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 236.907,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.1491,
    "h": 274.5
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#2F3490
secondary
#B6B265
accent
#D34EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3490

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

Preview Lab → · Contrast checker → · Palette generator →

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