#2F409A#2F409A

#2F409A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.148 H 270.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2F409A
RGBrgb(47, 64, 154)
HSLhsl(230, 53%, 39%)
HSVhsv(230, 69%, 60%)
CMYKcmyk(69.5%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.89, 24.41, -51.26)
CIE-LCHlch(30.89, 56.78, 295.46°)
OKLaboklab(41.36% 0.0012 -0.1476)
OKLCHoklch(41.36% 0.148 270.5)
XYZxyz(8.8364, 6.6034, 31.3745)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F409A #9A892F
analogous
#2F769A #2F409A #532F9A
triadic
#2F409A #9A2F40 #409A2F
tetradic
#2F409A #9A2F76 #9A892F #2F9A53
square
#2F409A #9A2F76 #9A892F #2F9A53
split-complementary
#2F409A #9A532F #769A2F
monochromatic
#12193C #212D6B #2F409A #4156C5 #7080D3

Accessibility & contrast

On white

9.05
#2F409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F409A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F409A#FFFFFF#000000##FFFFFF
##2F409A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f409a;
/* rgb */ color: rgb(47, 64, 154);
/* oklch */ color: oklch(41.4% 0.148 270.5);
Tailwind
colors: {
  custom: {
    50: '#7574b8',
    500: '#2f409a',
    950: '#000000',
  },
}
SCSS
$custom: #2f409a;
$custom-light: #7574b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f409a",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 230.467,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.14766,
    "h": 270.5
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#2F409A
secondary
#BBAE6A
accent
#C64BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F409A

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

Preview Lab → · Contrast checker → · Palette generator →

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