#2F4378#2F4378

#2F4378 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.093 H 266.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2F4378
RGBrgb(47, 67, 120)
HSLhsl(224, 44%, 33%)
HSVhsv(224, 61%, 47%)
CMYKcmyk(60.8%, 44.2%, 0%, 52.9%)
CIE-LABlab(29.35, 9.72, -32.73)
CIE-LCHlch(29.35, 34.15, 286.54°)
OKLaboklab(39.43% -0.0055 -0.0931)
OKLCHoklch(39.43% 0.093 266.6)
XYZxyz(6.5685, 5.9742, 18.5727)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4378 #78642F
analogous
#2F6778 #2F4378 #402F78
triadic
#2F4378 #782F43 #43782F
tetradic
#2F4378 #782F67 #78642F #2F7840
square
#2F4378 #782F67 #78642F #2F7840
split-complementary
#2F4378 #78402F #67782F
monochromatic
#0D1220 #1E2A4C #2F4378 #405CA4 #607BC1

Accessibility & contrast

On white

9.57
#2F4378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F4378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4378
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4378#FFFFFF#000000##FFFFFF
##2F43781.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4378;
/* rgb */ color: rgb(47, 67, 120);
/* oklch */ color: oklch(39.4% 0.093 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e769f',
    500: '#2f4378',
    950: '#000000',
  },
}
SCSS
$custom: #2f4378;
$custom-light: #6e769f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4378",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 223.562,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.09328,
    "h": 266.6
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#2F4378
secondary
#A8935B
accent
#B154D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #2F4378

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

Preview Lab → · Contrast checker → · Palette generator →

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