#2F3890#2F3890

#2F3890 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.144 H 273.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2F3890
RGBrgb(47, 56, 144)
HSLhsl(234, 51%, 37%)
HSVhsv(234, 67%, 56%)
CMYKcmyk(67.4%, 61.1%, 0%, 43.5%)
CIE-LABlab(27.97, 26.07, -49.89)
CIE-LCHlch(27.97, 56.29, 297.59°)
OKLaboklab(38.94% 0.0081 -0.1437)
OKLCHoklch(38.94% 0.144 273.2)
XYZxyz(7.6188, 5.4456, 27.0298)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3890 #90872F
analogous
#2F6890 #2F3890 #572F90
triadic
#2F3890 #902F38 #38902F
tetradic
#2F3890 #902F68 #90872F #2F9057
square
#2F3890 #902F68 #90872F #2F9057
split-complementary
#2F3890 #90572F #68902F
monochromatic
#111434 #202662 #2F3890 #3E4ABE #6B74CF

Accessibility & contrast

On white

10.05
#2F3890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F3890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3890
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3890#FFFFFF#000000##FFFFFF
##2F38901.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f3890;
/* rgb */ color: rgb(47, 56, 144);
/* oklch */ color: oklch(38.9% 0.144 273.2);
Tailwind
colors: {
  custom: {
    50: '#746eb1',
    500: '#2f3890',
    950: '#000000',
  },
}
SCSS
$custom: #2f3890;
$custom-light: #746eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3890",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 234.433,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.14393,
    "h": 273.2
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#2F3890
secondary
#B6AE65
accent
#CD4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3890

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

Preview Lab → · Contrast checker → · Palette generator →

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