#2F3290#2F3290

#2F3290 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.152 H 275.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2F3290
RGBrgb(47, 50, 144)
HSLhsl(238, 51%, 37%)
HSVhsv(238, 67%, 56%)
CMYKcmyk(67.4%, 65.3%, 0%, 43.5%)
CIE-LABlab(26.44, 30.03, -52.38)
CIE-LCHlch(26.44, 60.37, 299.83°)
OKLaboklab(37.82% 0.0133 -0.1511)
OKLCHoklch(37.82% 0.152 275)
XYZxyz(7.3453, 4.8985, 26.9386)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3290 #908D2F
analogous
#2F6390 #2F3290 #5C2F90
triadic
#2F3290 #902F32 #32902F
tetradic
#2F3290 #902F63 #908D2F #2F905C
square
#2F3290 #902F63 #908D2F #2F905C
split-complementary
#2F3290 #905C2F #63902F
monochromatic
#111234 #202262 #2F3290 #3E42BE #6B6ECF

Accessibility & contrast

On white

10.61
#2F3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3290
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3290#FFFFFF#000000##FFFFFF
##2F32901.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3290;
/* rgb */ color: rgb(47, 50, 144);
/* oklch */ color: oklch(37.8% 0.152 275.0);
Tailwind
colors: {
  custom: {
    50: '#746ab1',
    500: '#2f3290',
    950: '#000000',
  },
}
SCSS
$custom: #2f3290;
$custom-light: #746ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3290",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 238.144,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37815,
    "c": 0.15164,
    "h": 275
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#2F3290
secondary
#B6B365
accent
#D64EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3290

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

Preview Lab → · Contrast checker → · Palette generator →

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