#2F499B#2F499B

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

Color values

HEX#2F499B
RGBrgb(47, 73, 155)
HSLhsl(226, 53%, 40%)
HSVhsv(226, 70%, 61%)
CMYKcmyk(69.7%, 52.9%, 0%, 39.2%)
CIE-LABlab(33.42, 18.75, -47.75)
CIE-LCHlch(33.42, 51.30, 291.44°)
OKLaboklab(43.29% -0.0067 -0.1372)
OKLCHoklch(43.29% 0.137 267.2)
XYZxyz(9.4692, 7.7351, 31.9980)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F499B #9B812F
analogous
#2F7F9B #2F499B #4B2F9B
triadic
#2F499B #9B2F49 #499B2F
tetradic
#2F499B #9B2F7F #9B812F #2F9B4B
square
#2F499B #9B2F7F #9B812F #2F9B4B
split-complementary
#2F499B #9B4B2F #7F9B2F
monochromatic
#131D3D #21336C #2F499B #4261C6 #7188D4

Accessibility & contrast

On white

8.24
#2F499B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F499B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F499B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F499B#FFFFFF#000000##FFFFFF
##2F499B1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f499b;
/* rgb */ color: rgb(47, 73, 155);
/* oklch */ color: oklch(43.3% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#757bb9',
    500: '#2f499b',
    950: '#000000',
  },
}
SCSS
$custom: #2f499b;
$custom-light: #757bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f499b",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 225.556,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.13736,
    "h": 267.2
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F499B

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

Preview Lab → · Contrast checker → · Palette generator →

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