#2F4583#2F4583

#2F4583 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.107 H 266.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2F4583
RGBrgb(47, 69, 131)
HSLhsl(224, 47%, 35%)
HSVhsv(224, 64%, 51%)
CMYKcmyk(64.1%, 47.3%, 0%, 48.6%)
CIE-LABlab(30.64, 12.44, -37.54)
CIE-LCHlch(30.64, 39.55, 288.33°)
OKLaboklab(40.64% -0.0058 -0.1072)
OKLCHoklch(40.64% 0.107 266.9)
XYZxyz(7.3957, 6.4986, 22.3329)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4583 #836D2F
analogous
#2F6F83 #2F4583 #432F83
triadic
#2F4583 #832F45 #45832F
tetradic
#2F4583 #832F6F #836D2F #2F8343
square
#2F4583 #832F6F #836D2F #2F8343
split-complementary
#2F4583 #83432F #6F832F
monochromatic
#0F1629 #1F2D56 #2F4583 #3F5DB0 #657FC8

Accessibility & contrast

On white

9.13
#2F4583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F4583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4583
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4583#FFFFFF#000000##FFFFFF
##2F45831.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#194582
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4583;
/* rgb */ color: rgb(47, 69, 131);
/* oklch */ color: oklch(40.6% 0.107 266.9);
Tailwind
colors: {
  custom: {
    50: '#7078a7',
    500: '#2f4583',
    950: '#000000',
  },
}
SCSS
$custom: #2f4583;
$custom-light: #7078a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4583",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 224.286,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.10737,
    "h": 266.9
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#2F4583
secondary
#AF9A5F
accent
#B451D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2F4583

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

Preview Lab → · Contrast checker → · Palette generator →

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