#2F4490#2F4490

#2F4490 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.128 H 268.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2F4490
RGBrgb(47, 68, 144)
HSLhsl(227, 51%, 37%)
HSVhsv(227, 67%, 56%)
CMYKcmyk(67.4%, 52.8%, 0%, 43.5%)
CIE-LABlab(31.23, 17.98, -44.60)
CIE-LCHlch(31.23, 48.08, 291.96°)
OKLaboklab(41.38% -0.003 -0.128)
OKLCHoklch(41.38% 0.128 268.6)
XYZxyz(8.2717, 6.7514, 27.2474)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4490 #907B2F
analogous
#2F7590 #2F4490 #4A2F90
triadic
#2F4490 #902F44 #44902F
tetradic
#2F4490 #902F75 #907B2F #2F904A
square
#2F4490 #902F75 #907B2F #2F904A
split-complementary
#2F4490 #904A2F #75902F
monochromatic
#111834 #202E62 #2F4490 #3E5ABE #6B80CF

Accessibility & contrast

On white

8.93
#2F4490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2F4490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4490
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4490#FFFFFF#000000##FFFFFF
##2F44901.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4490;
/* rgb */ color: rgb(47, 68, 144);
/* oklch */ color: oklch(41.4% 0.128 268.6);
Tailwind
colors: {
  custom: {
    50: '#7377b1',
    500: '#2f4490',
    950: '#000000',
  },
}
SCSS
$custom: #2f4490;
$custom-light: #7377b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4490",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 227.01,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.12802,
    "h": 268.6
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#2F4490
secondary
#B6A465
accent
#BC4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4490

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

Preview Lab → · Contrast checker → · Palette generator →

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