#2F3D90#2F3D90

#2F3D90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.137 H 271.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2F3D90
RGBrgb(47, 61, 144)
HSLhsl(231, 51%, 37%)
HSVhsv(231, 67%, 56%)
CMYKcmyk(67.4%, 57.6%, 0%, 43.5%)
CIE-LABlab(29.30, 22.71, -47.73)
CIE-LCHlch(29.30, 52.86, 295.45°)
OKLaboklab(39.93% 0.0036 -0.1373)
OKLCHoklch(39.93% 0.137 271.5)
XYZxyz(7.8734, 5.9547, 27.1146)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D90 #90822F
analogous
#2F6E90 #2F3D90 #512F90
triadic
#2F3D90 #902F3D #3D902F
tetradic
#2F3D90 #902F6E #90822F #2F9051
square
#2F3D90 #902F6E #90822F #2F9051
split-complementary
#2F3D90 #90512F #6E902F
monochromatic
#111634 #202962 #2F3D90 #3E51BE #6B79CF

Accessibility & contrast

On white

9.58
#2F3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D90
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D90#FFFFFF#000000##FFFFFF
##2F3D901.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f3d90;
/* rgb */ color: rgb(47, 61, 144);
/* oklch */ color: oklch(39.9% 0.137 271.5);
Tailwind
colors: {
  custom: {
    50: '#7372b1',
    500: '#2f3d90',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d90;
$custom-light: #7372b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d90",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 231.34,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.13734,
    "h": 271.5
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#2F3D90
secondary
#B6AA65
accent
#C64EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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