#2F4595#2F4595

#2F4595 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.134 H 268.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2F4595
RGBrgb(47, 69, 149)
HSLhsl(227, 52%, 38%)
HSVhsv(227, 68%, 58%)
CMYKcmyk(68.5%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.87, 19.18, -46.62)
CIE-LCHlch(31.87, 50.41, 292.37°)
OKLaboklab(41.98% -0.0035 -0.1339)
OKLCHoklch(41.98% 0.134 268.5)
XYZxyz(8.7234, 7.0297, 29.3251)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4595 #957F2F
analogous
#2F7895 #2F4595 #4C2F95
triadic
#2F4595 #952F45 #45952F
tetradic
#2F4595 #952F78 #957F2F #2F954C
square
#2F4595 #952F78 #957F2F #2F954C
split-complementary
#2F4595 #954C2F #78952F
monochromatic
#121A38 #202F66 #2F4595 #3F5BC2 #6D83D1

Accessibility & contrast

On white

8.73
#2F4595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F4595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4595
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4595#FFFFFF#000000##FFFFFF
##2F45951.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4595;
/* rgb */ color: rgb(47, 69, 149);
/* oklch */ color: oklch(42.0% 0.134 268.5);
Tailwind
colors: {
  custom: {
    50: '#7478b5',
    500: '#2f4595',
    950: '#000000',
  },
}
SCSS
$custom: #2f4595;
$custom-light: #7478b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4595",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 227.059,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.13396,
    "h": 268.5
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#2F4595
secondary
#B8A767
accent
#BD4CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4595

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

Preview Lab → · Contrast checker → · Palette generator →

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