#2F4294#2F4294

#2F4294 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.136 H 269.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2F4294
RGBrgb(47, 66, 148)
HSLhsl(229, 52%, 38%)
HSVhsv(229, 68%, 58%)
CMYKcmyk(68.2%, 55.4%, 0%, 42%)
CIE-LABlab(30.97, 20.83, -47.47)
CIE-LCHlch(30.97, 51.84, 293.69°)
OKLaboklab(41.28% -0.0008 -0.1365)
OKLCHoklch(41.28% 0.136 269.7)
XYZxyz(8.4640, 6.6381, 28.8465)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4294 #94812F
analogous
#2F7494 #2F4294 #4E2F94
triadic
#2F4294 #942F42 #42942F
tetradic
#2F4294 #942F74 #94812F #2F944E
square
#2F4294 #942F74 #94812F #2F944E
split-complementary
#2F4294 #944E2F #74942F
monochromatic
#111937 #202D66 #2F4294 #3E57C2 #6D80D1

Accessibility & contrast

On white

9.02
#2F4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4294
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4294#FFFFFF#000000##FFFFFF
##2F42941.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4294;
/* rgb */ color: rgb(47, 66, 148);
/* oklch */ color: oklch(41.3% 0.136 269.7);
Tailwind
colors: {
  custom: {
    50: '#7476b4',
    500: '#2f4294',
    950: '#000000',
  },
}
SCSS
$custom: #2f4294;
$custom-light: #7476b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4294",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 228.713,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41275,
    "c": 0.13647,
    "h": 269.7
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#2F4294
secondary
#B8A967
accent
#C04DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F4294

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

Preview Lab → · Contrast checker → · Palette generator →

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