#2F489E#2F489E

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

Color values

HEX#2F489E
RGBrgb(47, 72, 158)
HSLhsl(226, 54%, 40%)
HSVhsv(226, 70%, 62%)
CMYKcmyk(70.3%, 54.4%, 0%, 38%)
CIE-LABlab(33.36, 20.55, -49.66)
CIE-LCHlch(33.36, 53.75, 292.48°)
OKLaboklab(43.32% -0.0055 -0.1428)
OKLCHoklch(43.32% 0.143 267.8)
XYZxyz(9.6591, 7.7067, 33.3196)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F489E #9E852F
analogous
#2F809E #2F489E #4D2F9E
triadic
#2F489E #9E2F48 #489E2F
tetradic
#2F489E #9E2F80 #9E852F #2F9E4D
square
#2F489E #9E2F80 #9E852F #2F9E4D
split-complementary
#2F489E #9E4D2F #809E2F
monochromatic
#131D40 #21336F #2F489E #4361C7 #7289D5

Accessibility & contrast

On white

8.26
#2F489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F489E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F489E#FFFFFF#000000##FFFFFF
##2F489E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f489e;
/* rgb */ color: rgb(47, 72, 158);
/* oklch */ color: oklch(43.3% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#767abb',
    500: '#2f489e',
    950: '#000000',
  },
}
SCSS
$custom: #2f489e;
$custom-light: #767abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f489e",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 226.486,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.14294,
    "h": 267.8
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#2F489E
secondary
#BDAB6C
accent
#BC4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2F489E

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

Preview Lab → · Contrast checker → · Palette generator →

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