#2F489B#2F489B

#2F489B is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.139 H 267.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2F489B
RGBrgb(47, 72, 155)
HSLhsl(226, 53%, 40%)
HSVhsv(226, 70%, 61%)
CMYKcmyk(69.7%, 53.5%, 0%, 39.2%)
CIE-LABlab(33.15, 19.42, -48.20)
CIE-LCHlch(33.15, 51.97, 291.94°)
OKLaboklab(43.08% -0.0058 -0.1385)
OKLCHoklch(43.08% 0.139 267.6)
XYZxyz(9.4040, 7.6047, 31.9762)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F489B #9B822F
analogous
#2F7E9B #2F489B #4C2F9B
triadic
#2F489B #9B2F48 #489B2F
tetradic
#2F489B #9B2F7E #9B822F #2F9B4C
square
#2F489B #9B2F7E #9B822F #2F9B4C
split-complementary
#2F489B #9B4C2F #7E9B2F
monochromatic
#131C3D #21326C #2F489B #4260C6 #7188D4

Accessibility & contrast

On white

8.33
#2F489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F489B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F489B#FFFFFF#000000##FFFFFF
##2F489B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f489b;
/* rgb */ color: rgb(47, 72, 155);
/* oklch */ color: oklch(43.1% 0.139 267.6);
Tailwind
colors: {
  custom: {
    50: '#757ab9',
    500: '#2f489b',
    950: '#000000',
  },
}
SCSS
$custom: #2f489b;
$custom-light: #757ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f489b",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 226.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43081,
    "c": 0.13866,
    "h": 267.6
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F489B

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

Preview Lab → · Contrast checker → · Palette generator →

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