#2F4492#2F4492

#2F4492 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.131 H 268.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2F4492
RGBrgb(47, 68, 146)
HSLhsl(227, 51%, 38%)
HSVhsv(227, 68%, 57%)
CMYKcmyk(67.8%, 53.4%, 0%, 42.7%)
CIE-LABlab(31.38, 18.73, -45.59)
CIE-LCHlch(31.38, 49.29, 292.34°)
OKLaboklab(41.54% -0.0029 -0.1309)
OKLCHoklch(41.54% 0.131 268.7)
XYZxyz(8.4259, 6.8131, 28.0596)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4492 #927D2F
analogous
#2F7592 #2F4492 #4C2F92
triadic
#2F4492 #922F44 #44922F
tetradic
#2F4492 #922F75 #927D2F #2F924C
square
#2F4492 #922F75 #927D2F #2F924C
split-complementary
#2F4492 #924C2F #75922F
monochromatic
#111935 #202E64 #2F4492 #3E5AC0 #6C81D0

Accessibility & contrast

On white

8.89
#2F4492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F4492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4492
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4492#FFFFFF#000000##FFFFFF
##2F44921.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f4492;
/* rgb */ color: rgb(47, 68, 146);
/* oklch */ color: oklch(41.5% 0.131 268.7);
Tailwind
colors: {
  custom: {
    50: '#7377b2',
    500: '#2f4492',
    950: '#000000',
  },
}
SCSS
$custom: #2f4492;
$custom-light: #7377b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4492",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 227.273,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.13093,
    "h": 268.7
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#2F4492
secondary
#B7A666
accent
#BD4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4492

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

Preview Lab → · Contrast checker → · Palette generator →

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