#2F489C#2F489C

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

Color values

HEX#2F489C
RGBrgb(47, 72, 156)
HSLhsl(226, 54%, 40%)
HSVhsv(226, 70%, 61%)
CMYKcmyk(69.9%, 53.8%, 0%, 38.8%)
CIE-LABlab(33.22, 19.80, -48.69)
CIE-LCHlch(33.22, 52.56, 292.13°)
OKLaboklab(43.16% -0.0057 -0.14)
OKLCHoklch(43.16% 0.14 267.7)
XYZxyz(9.4883, 7.6384, 32.4204)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F489C #9C832F
analogous
#2F7E9C #2F489C #4D2F9C
triadic
#2F489C #9C2F48 #489C2F
tetradic
#2F489C #9C2F7E #9C832F #2F9C4D
square
#2F489C #9C2F7E #9C832F #2F9C4D
split-complementary
#2F489C #9C4D2F #7E9C2F
monochromatic
#131D3E #21326D #2F489C #4260C6 #7188D4

Accessibility & contrast

On white

8.31
#2F489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F489C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F489C#FFFFFF#000000##FFFFFF
##2F489C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f489c;
/* rgb */ color: rgb(47, 72, 156);
/* oklch */ color: oklch(43.2% 0.140 267.7);
Tailwind
colors: {
  custom: {
    50: '#757aba',
    500: '#2f489c',
    950: '#000000',
  },
}
SCSS
$custom: #2f489c;
$custom-light: #757aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f489c",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 226.239,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.1401,
    "h": 267.7
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F489C

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

Preview Lab → · Contrast checker → · Palette generator →

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