#2F4383#2F4383

#2F4383 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.110 H 268.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2F4383
RGBrgb(47, 67, 131)
HSLhsl(226, 47%, 35%)
HSVhsv(226, 64%, 51%)
CMYKcmyk(64.1%, 48.9%, 0%, 48.6%)
CIE-LABlab(30.05, 13.79, -38.48)
CIE-LCHlch(30.05, 40.88, 289.72°)
OKLaboklab(40.2% -0.0036 -0.11)
OKLCHoklch(40.2% 0.11 268.1)
XYZxyz(7.2748, 6.2567, 22.2926)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4383 #836F2F
analogous
#2F6D83 #2F4383 #452F83
triadic
#2F4383 #832F43 #43832F
tetradic
#2F4383 #832F6D #836F2F #2F8345
square
#2F4383 #832F6D #836F2F #2F8345
split-complementary
#2F4383 #83452F #6D832F
monochromatic
#0F1529 #1F2C56 #2F4383 #3F5AB0 #657CC8

Accessibility & contrast

On white

9.33
#2F4383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F4383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4383
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4383#FFFFFF#000000##FFFFFF
##2F43831.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B85
Deuteranopia (green-blind)
#144382
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4383;
/* rgb */ color: rgb(47, 67, 131);
/* oklch */ color: oklch(40.2% 0.110 268.1);
Tailwind
colors: {
  custom: {
    50: '#7076a7',
    500: '#2f4383',
    950: '#000000',
  },
}
SCSS
$custom: #2f4383;
$custom-light: #7076a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4383",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 131
  },
  "hsl": {
    "h": 225.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.11006,
    "h": 268.1
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#2F4383
secondary
#AF9C5F
accent
#B751D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4383

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

Preview Lab → · Contrast checker → · Palette generator →

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