#2F4899#2F4899

#2F4899 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.136 H 267.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2F4899
RGBrgb(47, 72, 153)
HSLhsl(226, 53%, 39%)
HSVhsv(226, 69%, 60%)
CMYKcmyk(69.3%, 52.9%, 0%, 40%)
CIE-LABlab(33.00, 18.67, -47.23)
CIE-LCHlch(33.00, 50.78, 291.57°)
OKLaboklab(42.93% -0.006 -0.1357)
OKLCHoklch(42.93% 0.136 267.5)
XYZxyz(9.2374, 7.5381, 31.0990)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4899 #99802F
analogous
#2F7D99 #2F4899 #4B2F99
triadic
#2F4899 #992F48 #48992F
tetradic
#2F4899 #992F7D #99802F #2F994B
square
#2F4899 #992F7D #99802F #2F994B
split-complementary
#2F4899 #994B2F #7D992F
monochromatic
#121C3B #21326A #2F4899 #4160C5 #6F87D3

Accessibility & contrast

On white

8.37
#2F4899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2F4899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4899
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4899#FFFFFF#000000##FFFFFF
##2F48991.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15539C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4899;
/* rgb */ color: rgb(47, 72, 153);
/* oklch */ color: oklch(42.9% 0.136 267.5);
Tailwind
colors: {
  custom: {
    50: '#757ab8',
    500: '#2f4899',
    950: '#000000',
  },
}
SCSS
$custom: #2f4899;
$custom-light: #757ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4899",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 225.849,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.13579,
    "h": 267.5
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#2F4899
secondary
#BAA769
accent
#BA4BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4899

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

Preview Lab → · Contrast checker → · Palette generator →

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