#2F4E90#2F4E90

#2F4E90 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.115 H 263.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2F4E90
RGBrgb(47, 78, 144)
HSLhsl(221, 51%, 37%)
HSVhsv(221, 67%, 56%)
CMYKcmyk(67.4%, 45.8%, 0%, 43.5%)
CIE-LABlab(34.12, 11.26, -39.96)
CIE-LCHlch(34.12, 41.51, 285.74°)
OKLaboklab(43.58% -0.0131 -0.1142)
OKLCHoklch(43.58% 0.115 263.5)
XYZxyz(8.9290, 8.0659, 27.4665)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E90 #90712F
analogous
#2F7E90 #2F4E90 #412F90
triadic
#2F4E90 #902F4E #4E902F
tetradic
#2F4E90 #902F7E #90712F #2F9041
square
#2F4E90 #902F7E #90712F #2F9041
split-complementary
#2F4E90 #90412F #7E902F
monochromatic
#111C34 #203562 #2F4E90 #3E67BE #6B8BCF

Accessibility & contrast

On white

8.04
#2F4E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F4E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E90
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E90#FFFFFF#000000##FFFFFF
##2F4E901.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5593
Deuteranopia (green-blind)
#1D4C8F
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4e90;
/* rgb */ color: rgb(47, 78, 144);
/* oklch */ color: oklch(43.6% 0.115 263.5);
Tailwind
colors: {
  custom: {
    50: '#727fb1',
    500: '#2f4e90',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e90;
$custom-light: #727fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e90",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 220.825,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.11493,
    "h": 263.5
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#2F4E90
secondary
#B69C65
accent
#AD4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2F4E90

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

Preview Lab → · Contrast checker → · Palette generator →

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