#2F489A#2F489A

#2F489A is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.137 H 267.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2F489A
RGBrgb(47, 72, 154)
HSLhsl(226, 53%, 39%)
HSVhsv(226, 69%, 60%)
CMYKcmyk(69.5%, 53.2%, 0%, 39.6%)
CIE-LABlab(33.07, 19.05, -47.72)
CIE-LCHlch(33.07, 51.38, 291.76°)
OKLaboklab(43% -0.0059 -0.1371)
OKLCHoklch(43% 0.137 267.5)
XYZxyz(9.3204, 7.5713, 31.5358)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F489A #9A812F
analogous
#2F7E9A #2F489A #4B2F9A
triadic
#2F489A #9A2F48 #489A2F
tetradic
#2F489A #9A2F7E #9A812F #2F9A4B
square
#2F489A #9A2F7E #9A812F #2F9A4B
split-complementary
#2F489A #9A4B2F #7E9A2F
monochromatic
#121C3C #21326B #2F489A #4160C5 #7087D3

Accessibility & contrast

On white

8.35
#2F489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2F489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F489A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F489A#FFFFFF#000000##FFFFFF
##2F489A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f489a;
/* rgb */ color: rgb(47, 72, 154);
/* oklch */ color: oklch(43.0% 0.137 267.5);
Tailwind
colors: {
  custom: {
    50: '#757ab8',
    500: '#2f489a',
    950: '#000000',
  },
}
SCSS
$custom: #2f489a;
$custom-light: #757ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f489a",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 225.981,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.13723,
    "h": 267.5
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#2F489A
secondary
#BBA86A
accent
#BB4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F489A

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

Preview Lab → · Contrast checker → · Palette generator →

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