#2F3094#2F3094

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

Color values

HEX#2F3094
RGBrgb(47, 48, 148)
HSLhsl(239, 52%, 38%)
HSVhsv(239, 68%, 58%)
CMYKcmyk(68.2%, 67.6%, 0%, 42%)
CIE-LABlab(26.32, 32.74, -55.04)
CIE-LCHlch(26.32, 64.04, 300.74°)
OKLaboklab(37.84% 0.0145 -0.1589)
OKLCHoklch(37.84% 0.16 275.2)
XYZxyz(7.5728, 4.8557, 28.5494)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3094 #94932F
analogous
#2F6294 #2F3094 #602F94
triadic
#2F3094 #942F30 #30942F
tetradic
#2F3094 #942F62 #94932F #2F9460
square
#2F3094 #942F62 #94932F #2F9460
split-complementary
#2F3094 #94602F #62942F
monochromatic
#111237 #202166 #2F3094 #3E40C2 #6D6ED1

Accessibility & contrast

On white

10.65
#2F3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3094
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3094#FFFFFF#000000##FFFFFF
##2F30941.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f3094;
/* rgb */ color: rgb(47, 48, 148);
/* oklch */ color: oklch(37.8% 0.160 275.2);
Tailwind
colors: {
  custom: {
    50: '#7569b4',
    500: '#2f3094',
    950: '#000000',
  },
}
SCSS
$custom: #2f3094;
$custom-light: #7569b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3094",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 239.406,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37835,
    "c": 0.15955,
    "h": 275.2
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#2F3094
secondary
#B8B767
accent
#DA4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3094

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

Preview Lab → · Contrast checker → · Palette generator →

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