#2F499A#2F499A

#2F499A is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.136 H 267.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2F499A
RGBrgb(47, 73, 154)
HSLhsl(225, 53%, 39%)
HSVhsv(225, 69%, 60%)
CMYKcmyk(69.5%, 52.6%, 0%, 39.6%)
CIE-LABlab(33.35, 18.37, -47.26)
CIE-LCHlch(33.35, 50.71, 291.24°)
OKLaboklab(43.22% -0.0068 -0.1358)
OKLCHoklch(43.22% 0.136 267.1)
XYZxyz(9.3855, 7.7016, 31.5575)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F499A #9A802F
analogous
#2F7F9A #2F499A #4B2F9A
triadic
#2F499A #9A2F49 #499A2F
tetradic
#2F499A #9A2F7F #9A802F #2F9A4B
square
#2F499A #9A2F7F #9A802F #2F9A4B
split-complementary
#2F499A #9A4B2F #7F9A2F
monochromatic
#121D3C #21336B #2F499A #4161C5 #7088D3

Accessibility & contrast

On white

8.27
#2F499A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F499A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F499A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F499A#FFFFFF#000000##FFFFFF
##2F499A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f499a;
/* rgb */ color: rgb(47, 73, 154);
/* oklch */ color: oklch(43.2% 0.136 267.1);
Tailwind
colors: {
  custom: {
    50: '#757bb8',
    500: '#2f499a',
    950: '#000000',
  },
}
SCSS
$custom: #2f499a;
$custom-light: #757bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f499a",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 225.421,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.13593,
    "h": 267.1
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#2F499A
secondary
#BBA76A
accent
#B94BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F499A

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

Preview Lab → · Contrast checker → · Palette generator →

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