#2F4489#2F4489

#2F4489 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.9% C 0.118 H 268.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2F4489
RGBrgb(47, 68, 137)
HSLhsl(226, 49%, 36%)
HSVhsv(226, 66%, 54%)
CMYKcmyk(65.7%, 50.4%, 0%, 46.3%)
CIE-LABlab(30.75, 15.36, -41.08)
CIE-LCHlch(30.75, 43.85, 290.50°)
OKLaboklab(40.86% -0.0038 -0.1176)
OKLCHoklch(40.86% 0.118 268.1)
XYZxyz(7.7532, 6.5440, 24.5166)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4489 #89742F
analogous
#2F7189 #2F4489 #472F89
triadic
#2F4489 #892F44 #44892F
tetradic
#2F4489 #892F71 #89742F #2F8947
square
#2F4489 #892F71 #89742F #2F8947
split-complementary
#2F4489 #89472F #71892F
monochromatic
#10172E #1F2D5B #2F4489 #3F5BB7 #677FCB

Accessibility & contrast

On white

9.09
#2F4489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F4489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4489
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4489#FFFFFF#000000##FFFFFF
##2F44891.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4489;
/* rgb */ color: rgb(47, 68, 137);
/* oklch */ color: oklch(40.9% 0.118 268.1);
Tailwind
colors: {
  custom: {
    50: '#7177ac',
    500: '#2f4489',
    950: '#000000',
  },
}
SCSS
$custom: #2f4489;
$custom-light: #7177ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4489",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 226,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.11769,
    "h": 268.1
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#2F4489
secondary
#B29F62
accent
#B84FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2F4489

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

Preview Lab → · Contrast checker → · Palette generator →

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