#2F4594#2F4594

#2F4594 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.133 H 268.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2F4594
RGBrgb(47, 69, 148)
HSLhsl(227, 52%, 38%)
HSVhsv(227, 68%, 58%)
CMYKcmyk(68.2%, 53.4%, 0%, 42%)
CIE-LABlab(31.80, 18.81, -46.12)
CIE-LCHlch(31.80, 49.81, 292.18°)
OKLaboklab(41.9% -0.0036 -0.1325)
OKLCHoklch(41.9% 0.133 268.4)
XYZxyz(8.6439, 6.9979, 28.9064)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4594 #947E2F
analogous
#2F7794 #2F4594 #4B2F94
triadic
#2F4594 #942F45 #45942F
tetradic
#2F4594 #942F77 #947E2F #2F944B
square
#2F4594 #942F77 #947E2F #2F944B
split-complementary
#2F4594 #944B2F #77942F
monochromatic
#111A37 #202F66 #2F4594 #3E5BC2 #6D83D1

Accessibility & contrast

On white

8.75
#2F4594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F4594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4594
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4594#FFFFFF#000000##FFFFFF
##2F45941.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4594;
/* rgb */ color: rgb(47, 69, 148);
/* oklch */ color: oklch(41.9% 0.133 268.4);
Tailwind
colors: {
  custom: {
    50: '#7478b4',
    500: '#2f4594',
    950: '#000000',
  },
}
SCSS
$custom: #2f4594;
$custom-light: #7478b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4594",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 226.931,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.13251,
    "h": 268.4
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#2F4594
secondary
#B8A667
accent
#BC4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4594

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

Preview Lab → · Contrast checker → · Palette generator →

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