#2F4B9A#2F4B9A

#2F4B9A is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.133 H 266.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2F4B9A
RGBrgb(47, 75, 154)
HSLhsl(224, 53%, 39%)
HSVhsv(224, 69%, 60%)
CMYKcmyk(69.5%, 51.3%, 0%, 39.6%)
CIE-LABlab(33.92, 17.04, -46.35)
CIE-LCHlch(33.92, 49.39, 290.18°)
OKLaboklab(43.64% -0.0087 -0.133)
OKLCHoklch(43.64% 0.133 266.3)
XYZxyz(9.5191, 7.9686, 31.6020)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B9A #9A7E2F
analogous
#2F819A #2F4B9A #492F9A
triadic
#2F4B9A #9A2F4B #4B9A2F
tetradic
#2F4B9A #9A2F81 #9A7E2F #2F9A49
square
#2F4B9A #9A2F81 #9A7E2F #2F9A49
split-complementary
#2F4B9A #9A492F #819A2F
monochromatic
#121D3C #21346B #2F4B9A #4164C5 #708AD3

Accessibility & contrast

On white

8.10
#2F4B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F4B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B9A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B9A#FFFFFF#000000##FFFFFF
##2F4B9A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f4b9a;
/* rgb */ color: rgb(47, 75, 154);
/* oklch */ color: oklch(43.6% 0.133 266.3);
Tailwind
colors: {
  custom: {
    50: '#757cb8',
    500: '#2f4b9a',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b9a;
$custom-light: #757cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b9a",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 224.299,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.13333,
    "h": 266.3
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#2F4B9A
secondary
#BBA66A
accent
#B74BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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