#2F489F#2F489F

#2F489F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.144 H 267.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2F489F
RGBrgb(47, 72, 159)
HSLhsl(227, 54%, 40%)
HSVhsv(227, 70%, 62%)
CMYKcmyk(70.4%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.44, 20.93, -50.15)
CIE-LCHlch(33.44, 54.34, 292.65°)
OKLaboklab(43.39% -0.0055 -0.1443)
OKLCHoklch(43.39% 0.144 267.8)
XYZxyz(9.7455, 7.7413, 33.7748)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F489F #9F862F
analogous
#2F809F #2F489F #4E2F9F
triadic
#2F489F #9F2F48 #489F2F
tetradic
#2F489F #9F2F80 #9F862F #2F9F4E
square
#2F489F #9F2F80 #9F862F #2F9F4E
split-complementary
#2F489F #9F4E2F #809F2F
monochromatic
#131D41 #213370 #2F489F #4461C8 #7389D6

Accessibility & contrast

On white

8.24
#2F489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F489F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F489F#FFFFFF#000000##FFFFFF
##2F489F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f489f;
/* rgb */ color: rgb(47, 72, 159);
/* oklch */ color: oklch(43.4% 0.144 267.8);
Tailwind
colors: {
  custom: {
    50: '#767abc',
    500: '#2f489f',
    950: '#000000',
  },
}
SCSS
$custom: #2f489f;
$custom-light: #767abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f489f",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 226.607,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43394,
    "c": 0.14436,
    "h": 267.8
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#2F489F
secondary
#BDAB6D
accent
#BD4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F489F

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

Preview Lab → · Contrast checker → · Palette generator →

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