#2F4D90#2F4D90

#2F4D90 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.4% C 0.116 H 264.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2F4D90
RGBrgb(47, 77, 144)
HSLhsl(221, 51%, 37%)
HSVhsv(221, 67%, 56%)
CMYKcmyk(67.4%, 46.5%, 0%, 43.5%)
CIE-LABlab(33.83, 11.93, -40.43)
CIE-LCHlch(33.83, 42.15, 286.44°)
OKLaboklab(43.36% -0.0121 -0.1156)
OKLCHoklch(43.36% 0.116 264)
XYZxyz(8.8584, 7.9249, 27.4430)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D90 #90722F
analogous
#2F7E90 #2F4D90 #412F90
triadic
#2F4D90 #902F4D #4D902F
tetradic
#2F4D90 #902F7E #90722F #2F9041
square
#2F4D90 #902F7E #90722F #2F9041
split-complementary
#2F4D90 #90412F #7E902F
monochromatic
#111C34 #203462 #2F4D90 #3E66BE #6B8ACF

Accessibility & contrast

On white

8.12
#2F4D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F4D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D90
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D90#FFFFFF#000000##FFFFFF
##2F4D901.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#1B4B8F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4d90;
/* rgb */ color: rgb(47, 77, 144);
/* oklch */ color: oklch(43.4% 0.116 264.0);
Tailwind
colors: {
  custom: {
    50: '#727eb1',
    500: '#2f4d90',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d90;
$custom-light: #727eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d90",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 144
  },
  "hsl": {
    "h": 221.443,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.11621,
    "h": 264
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#2F4D90
secondary
#B69D65
accent
#AF4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4D90

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

Preview Lab → · Contrast checker → · Palette generator →

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