#2F489D#2F489D

#2F489D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.142 H 267.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2F489D
RGBrgb(47, 72, 157)
HSLhsl(226, 54%, 40%)
HSVhsv(226, 70%, 62%)
CMYKcmyk(70.1%, 54.1%, 0%, 38.4%)
CIE-LABlab(33.29, 20.18, -49.18)
CIE-LCHlch(33.29, 53.16, 292.31°)
OKLaboklab(43.24% -0.0056 -0.1414)
OKLCHoklch(43.24% 0.142 267.7)
XYZxyz(9.5734, 7.6724, 32.8682)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F489D #9D842F
analogous
#2F7F9D #2F489D #4D2F9D
triadic
#2F489D #9D2F48 #489D2F
tetradic
#2F489D #9D2F7F #9D842F #2F9D4D
square
#2F489D #9D2F7F #9D842F #2F9D4D
split-complementary
#2F489D #9D4D2F #7F9D2F
monochromatic
#131D3F #21326E #2F489D #4361C7 #7288D5

Accessibility & contrast

On white

8.29
#2F489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F489D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F489D#FFFFFF#000000##FFFFFF
##2F489D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f489d;
/* rgb */ color: rgb(47, 72, 157);
/* oklch */ color: oklch(43.2% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#757abb',
    500: '#2f489d',
    950: '#000000',
  },
}
SCSS
$custom: #2f489d;
$custom-light: #757abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f489d",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 226.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.43237,
    "c": 0.14152,
    "h": 267.7
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#2F489D
secondary
#BCAA6B
accent
#BC4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2F489D

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

Preview Lab → · Contrast checker → · Palette generator →

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