#2F579A#2F579A

#2F579A is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.118 H 260.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2F579A
RGBrgb(47, 87, 154)
HSLhsl(218, 53%, 39%)
HSVhsv(218, 69%, 60%)
CMYKcmyk(69.5%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.40, 9.08, -40.77)
CIE-LCHlch(37.40, 41.77, 282.56°)
OKLaboklab(46.31% -0.0203 -0.1164)
OKLCHoklch(46.31% 0.118 260.1)
XYZxyz(10.4111, 9.7528, 31.8994)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F579A #9A722F
analogous
#2F8D9A #2F579A #3D2F9A
triadic
#2F579A #9A2F57 #579A2F
tetradic
#2F579A #9A2F8D #9A722F #2F9A3D
square
#2F579A #9A2F8D #9A722F #2F9A3D
split-complementary
#2F579A #9A3D2F #8D9A2F
monochromatic
#12223C #213D6B #2F579A #4172C5 #7095D3

Accessibility & contrast

On white

7.12
#2F579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F579A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F579A#FFFFFF#000000##FFFFFF
##2F579A1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#255399
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f579a;
/* rgb */ color: rgb(47, 87, 154);
/* oklch */ color: oklch(46.3% 0.118 260.1);
Tailwind
colors: {
  custom: {
    50: '#7485b8',
    500: '#2f579a',
    950: '#000000',
  },
}
SCSS
$custom: #2f579a;
$custom-light: #7485b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f579a",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 217.57,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46309,
    "c": 0.1182,
    "h": 260.1
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#2F579A
secondary
#BB9D6A
accent
#A64BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F579A

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

Preview Lab → · Contrast checker → · Palette generator →

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