#2F3090#2F3090

#2F3090 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.154 H 275.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2F3090
RGBrgb(47, 48, 144)
HSLhsl(239, 51%, 37%)
HSVhsv(239, 67%, 56%)
CMYKcmyk(67.4%, 66.7%, 0%, 43.5%)
CIE-LABlab(25.95, 31.32, -53.18)
CIE-LCHlch(25.95, 61.72, 300.50°)
OKLaboklab(37.46% 0.0149 -0.1534)
OKLCHoklch(37.46% 0.154 275.5)
XYZxyz(7.2616, 4.7312, 26.9107)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3090 #908F2F
analogous
#2F6190 #2F3090 #5E2F90
triadic
#2F3090 #902F30 #30902F
tetradic
#2F3090 #902F61 #908F2F #2F905E
square
#2F3090 #902F61 #908F2F #2F905E
split-complementary
#2F3090 #905E2F #61902F
monochromatic
#111134 #202162 #2F3090 #3E3FBE #6B6CCF

Accessibility & contrast

On white

10.79
#2F3090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F3090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3090
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3090#FFFFFF#000000##FFFFFF
##2F30901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3090;
/* rgb */ color: rgb(47, 48, 144);
/* oklch */ color: oklch(37.5% 0.154 275.5);
Tailwind
colors: {
  custom: {
    50: '#7468b1',
    500: '#2f3090',
    950: '#000000',
  },
}
SCSS
$custom: #2f3090;
$custom-light: #7468b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3090",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 239.381,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.15413,
    "h": 275.5
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#2F3090
secondary
#B6B565
accent
#D94EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F3090

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

Preview Lab → · Contrast checker → · Palette generator →

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