#2F4B92#2F4B92

#2F4B92 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.122 H 265.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2F4B92
RGBrgb(47, 75, 146)
HSLhsl(223, 51%, 38%)
HSVhsv(223, 68%, 57%)
CMYKcmyk(67.8%, 48.6%, 0%, 42.7%)
CIE-LABlab(33.37, 14.02, -42.37)
CIE-LCHlch(33.37, 44.63, 288.31°)
OKLaboklab(43.05% -0.0097 -0.1213)
OKLCHoklch(43.05% 0.122 265.4)
XYZxyz(8.8749, 7.7110, 28.2092)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B92 #92762F
analogous
#2F7C92 #2F4B92 #442F92
triadic
#2F4B92 #922F4B #4B922F
tetradic
#2F4B92 #922F7C #92762F #2F9244
square
#2F4B92 #922F7C #92762F #2F9244
split-complementary
#2F4B92 #92442F #7C922F
monochromatic
#111B35 #203364 #2F4B92 #3E63C0 #6C88D0

Accessibility & contrast

On white

8.26
#2F4B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F4B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B92
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B92#FFFFFF#000000##FFFFFF
##2F4B921.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#114A91
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f4b92;
/* rgb */ color: rgb(47, 75, 146);
/* oklch */ color: oklch(43.1% 0.122 265.4);
Tailwind
colors: {
  custom: {
    50: '#737cb2',
    500: '#2f4b92',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b92;
$custom-light: #737cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b92",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 223.03,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.12172,
    "h": 265.4
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#2F4B92
secondary
#B7A066
accent
#B34DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4B92

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

Preview Lab → · Contrast checker → · Palette generator →

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