#2F4B95#2F4B95

#2F4B95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.126 H 265.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2F4B95
RGBrgb(47, 75, 149)
HSLhsl(224, 52%, 38%)
HSVhsv(224, 68%, 58%)
CMYKcmyk(68.5%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.57, 15.15, -43.87)
CIE-LCHlch(33.57, 46.42, 289.05°)
OKLaboklab(43.27% -0.0093 -0.1257)
OKLCHoklch(43.27% 0.126 265.8)
XYZxyz(9.1113, 7.8055, 29.4544)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B95 #95792F
analogous
#2F7E95 #2F4B95 #462F95
triadic
#2F4B95 #952F4B #4B952F
tetradic
#2F4B95 #952F7E #95792F #2F9546
square
#2F4B95 #952F7E #95792F #2F9546
split-complementary
#2F4B95 #95462F #7E952F
monochromatic
#121C38 #203466 #2F4B95 #3F63C2 #6D89D1

Accessibility & contrast

On white

8.20
#2F4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F4B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B95
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B95#FFFFFF#000000##FFFFFF
##2F4B951.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#084B93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f4b95;
/* rgb */ color: rgb(47, 75, 149);
/* oklch */ color: oklch(43.3% 0.126 265.8);
Tailwind
colors: {
  custom: {
    50: '#747cb5',
    500: '#2f4b95',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b95;
$custom-light: #747cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b95",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 223.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.12609,
    "h": 265.8
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#2F4B95
secondary
#B8A267
accent
#B44CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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