#2F4292#2F4292

#2F4292 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.134 H 269.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2F4292
RGBrgb(47, 66, 146)
HSLhsl(228, 51%, 38%)
HSVhsv(228, 68%, 57%)
CMYKcmyk(67.8%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.82, 20.08, -46.49)
CIE-LCHlch(30.82, 50.64, 293.36°)
OKLaboklab(41.12% -0.0009 -0.1336)
OKLCHoklch(41.12% 0.134 269.6)
XYZxyz(8.3070, 6.5753, 28.0199)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4292 #927F2F
analogous
#2F7392 #2F4292 #4E2F92
triadic
#2F4292 #922F42 #42922F
tetradic
#2F4292 #922F73 #927F2F #2F924E
square
#2F4292 #922F73 #927F2F #2F924E
split-complementary
#2F4292 #924E2F #73922F
monochromatic
#111835 #202D64 #2F4292 #3E57C0 #6C7FD0

Accessibility & contrast

On white

9.07
#2F4292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F4292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4292
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4292#FFFFFF#000000##FFFFFF
##2F42921.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094D95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4292;
/* rgb */ color: rgb(47, 66, 146);
/* oklch */ color: oklch(41.1% 0.134 269.6);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2f4292',
    950: '#000000',
  },
}
SCSS
$custom: #2f4292;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4292",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 228.485,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.13358,
    "h": 269.6
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#2F4292
secondary
#B7A766
accent
#C04DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4292

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

Preview Lab → · Contrast checker → · Palette generator →

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