#2F3089#2F3089

#2F3089 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.144 H 276.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2F3089
RGBrgb(47, 48, 137)
HSLhsl(239, 49%, 36%)
HSVhsv(239, 66%, 54%)
CMYKcmyk(65.7%, 65%, 0%, 46.3%)
CIE-LABlab(25.33, 28.83, -49.85)
CIE-LCHlch(25.33, 57.59, 300.04°)
OKLaboklab(36.81% 0.0155 -0.1437)
OKLCHoklch(36.81% 0.144 276.2)
XYZxyz(6.7431, 4.5238, 24.1799)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3089 #89882F
analogous
#2F5D89 #2F3089 #5B2F89
triadic
#2F3089 #892F30 #30892F
tetradic
#2F3089 #892F5D #89882F #2F895B
square
#2F3089 #892F5D #89882F #2F895B
split-complementary
#2F3089 #895B2F #5D892F
monochromatic
#10102E #1F205B #2F3089 #3F40B7 #6769CB

Accessibility & contrast

On white

11.02
#2F3089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F3089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3089
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3089#FFFFFF#000000##FFFFFF
##2F30891.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3089;
/* rgb */ color: rgb(47, 48, 137);
/* oklch */ color: oklch(36.8% 0.144 276.2);
Tailwind
colors: {
  custom: {
    50: '#7368ac',
    500: '#2f3089',
    950: '#000000',
  },
}
SCSS
$custom: #2f3089;
$custom-light: #7368ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3089",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 239.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36811,
    "c": 0.14449,
    "h": 276.2
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#2F3089
secondary
#B2B162
accent
#D74FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3089

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

Preview Lab → · Contrast checker → · Palette generator →

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