#2F3F90#2F3F90

#2F3F90 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.135 H 270.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2F3F90
RGBrgb(47, 63, 144)
HSLhsl(230, 51%, 37%)
HSVhsv(230, 67%, 56%)
CMYKcmyk(67.4%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.84, 21.36, -46.84)
CIE-LCHlch(29.84, 51.49, 294.51°)
OKLaboklab(40.33% 0.0018 -0.1347)
OKLCHoklch(40.33% 0.135 270.7)
XYZxyz(7.9821, 6.1722, 27.1509)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F90 #90802F
analogous
#2F7090 #2F3F90 #4F2F90
triadic
#2F3F90 #902F3F #3F902F
tetradic
#2F3F90 #902F70 #90802F #2F904F
square
#2F3F90 #902F70 #90802F #2F904F
split-complementary
#2F3F90 #904F2F #70902F
monochromatic
#111734 #202B62 #2F3F90 #3E53BE #6B7BCF

Accessibility & contrast

On white

9.40
#2F3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F90
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F90#FFFFFF#000000##FFFFFF
##2F3F901.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f3f90;
/* rgb */ color: rgb(47, 63, 144);
/* oklch */ color: oklch(40.3% 0.135 270.7);
Tailwind
colors: {
  custom: {
    50: '#7373b1',
    500: '#2f3f90',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f90;
$custom-light: #7373b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f90",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 230.103,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.13468,
    "h": 270.7
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#2F3F90
secondary
#B6A865
accent
#C34EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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