#2F449E#2F449E

#2F449E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.148 H 269.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2F449E
RGBrgb(47, 68, 158)
HSLhsl(229, 54%, 40%)
HSVhsv(229, 70%, 62%)
CMYKcmyk(70.3%, 57%, 0%, 38%)
CIE-LABlab(32.27, 23.23, -51.44)
CIE-LCHlch(32.27, 56.44, 294.30°)
OKLaboklab(42.49% -0.002 -0.1481)
OKLCHoklch(42.49% 0.148 269.2)
XYZxyz(9.4089, 7.2063, 33.2362)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F449E #9E892F
analogous
#2F7B9E #2F449E #522F9E
triadic
#2F449E #9E2F44 #449E2F
tetradic
#2F449E #9E2F7B #9E892F #2F9E52
square
#2F449E #9E2F7B #9E892F #2F9E52
split-complementary
#2F449E #9E522F #7B9E2F
monochromatic
#131B40 #21306F #2F449E #435CC7 #7285D5

Accessibility & contrast

On white

8.60
#2F449E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F449E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F449E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F449E#FFFFFF#000000##FFFFFF
##2F449E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f449e;
/* rgb */ color: rgb(47, 68, 158);
/* oklch */ color: oklch(42.5% 0.148 269.2);
Tailwind
colors: {
  custom: {
    50: '#7677bb',
    500: '#2f449e',
    950: '#000000',
  },
}
SCSS
$custom: #2f449e;
$custom-light: #7677bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f449e",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 158
  },
  "hsl": {
    "h": 228.649,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.14811,
    "h": 269.2
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#2F449E
secondary
#BDAE6C
accent
#C24ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F449E

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

Preview Lab → · Contrast checker → · Palette generator →

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