#2F4A93#2F4A93

#2F4A93 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.124 H 266.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2F4A93
RGBrgb(47, 74, 147)
HSLhsl(224, 52%, 38%)
HSVhsv(224, 68%, 58%)
CMYKcmyk(68%, 49.7%, 0%, 42.4%)
CIE-LABlab(33.15, 15.07, -43.34)
CIE-LCHlch(33.15, 45.88, 289.17°)
OKLaboklab(42.91% -0.0086 -0.1242)
OKLCHoklch(42.91% 0.124 266)
XYZxyz(8.8857, 7.6076, 28.5982)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A93 #93782F
analogous
#2F7C93 #2F4A93 #462F93
triadic
#2F4A93 #932F4A #4A932F
tetradic
#2F4A93 #932F7C #93782F #2F9346
square
#2F4A93 #932F7C #93782F #2F9346
split-complementary
#2F4A93 #93462F #7C932F
monochromatic
#111B36 #203365 #2F4A93 #3E61C1 #6C87D0

Accessibility & contrast

On white

8.33
#2F4A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F4A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A93
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A93#FFFFFF#000000##FFFFFF
##2F4A931.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#094A92
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4a93;
/* rgb */ color: rgb(47, 74, 147);
/* oklch */ color: oklch(42.9% 0.124 266.0);
Tailwind
colors: {
  custom: {
    50: '#737cb3',
    500: '#2f4a93',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a93;
$custom-light: #737cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a93",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 147
  },
  "hsl": {
    "h": 223.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42907,
    "c": 0.12449,
    "h": 266
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#2F4A93
secondary
#B7A266
accent
#B54DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4A93

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

Preview Lab → · Contrast checker → · Palette generator →

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