#2F2B90#2F2B90

#2F2B90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.160 H 276.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2F2B90
RGBrgb(47, 43, 144)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 70%, 56%)
CMYKcmyk(67.4%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.78, 34.49, -55.10)
CIE-LCHlch(24.78, 65.00, 302.04°)
OKLaboklab(36.61% 0.0188 -0.159)
OKLCHoklch(36.61% 0.16 276.7)
XYZxyz(7.0686, 4.3451, 26.8463)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B90 #8C902B
analogous
#2B5A90 #2F2B90 #622B90
triadic
#2F2B90 #902F2B #2B902F
tetradic
#2F2B90 #902B5A #8C902B #2B9062
square
#2F2B90 #902B5A #8C902B #2B9062
split-complementary
#2F2B90 #90622B #5A902B
monochromatic
#100F32 #201D61 #2F2B90 #3E39BF #6965D1

Accessibility & contrast

On white

11.23
#2F2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B90
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B90#FFFFFF#000000##FFFFFF
##2F2B901.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2b90;
/* rgb */ color: rgb(47, 43, 144);
/* oklch */ color: oklch(36.6% 0.160 276.7);
Tailwind
colors: {
  custom: {
    50: '#7565b1',
    500: '#2f2b90',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b90;
$custom-light: #7565b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b90",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 242.376,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36608,
    "c": 0.16015,
    "h": 276.7
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#2F2B90
secondary
#B4B760
accent
#DD4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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