#2F4892#2F4892

#2F4892 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.126 H 266.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2F4892
RGBrgb(47, 72, 146)
HSLhsl(225, 51%, 38%)
HSVhsv(225, 68%, 57%)
CMYKcmyk(67.8%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.51, 16.03, -43.76)
CIE-LCHlch(32.51, 46.61, 290.12°)
OKLaboklab(42.4% -0.0067 -0.1255)
OKLCHoklch(42.4% 0.126 266.9)
XYZxyz(8.6762, 7.3136, 28.1430)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4892 #92792F
analogous
#2F7A92 #2F4892 #472F92
triadic
#2F4892 #922F48 #48922F
tetradic
#2F4892 #922F7A #92792F #2F9247
square
#2F4892 #922F7A #92792F #2F9247
split-complementary
#2F4892 #92472F #7A922F
monochromatic
#111A35 #203164 #2F4892 #3E5FC0 #6C85D0

Accessibility & contrast

On white

8.53
#2F4892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F4892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4892
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4892#FFFFFF#000000##FFFFFF
##2F48921.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5195
Deuteranopia (green-blind)
#024890
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4892;
/* rgb */ color: rgb(47, 72, 146);
/* oklch */ color: oklch(42.4% 0.126 266.9);
Tailwind
colors: {
  custom: {
    50: '#737ab2',
    500: '#2f4892',
    950: '#000000',
  },
}
SCSS
$custom: #2f4892;
$custom-light: #737ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4892",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 224.848,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42396,
    "c": 0.12564,
    "h": 266.9
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#2F4892
secondary
#B7A266
accent
#B74DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4892

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

Preview Lab → · Contrast checker → · Palette generator →

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