#2F4690#2F4690

#2F4690 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.125 H 267.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2F4690
RGBrgb(47, 70, 144)
HSLhsl(226, 51%, 37%)
HSVhsv(226, 67%, 56%)
CMYKcmyk(67.4%, 51.4%, 0%, 43.5%)
CIE-LABlab(31.80, 16.63, -43.68)
CIE-LCHlch(31.80, 46.74, 290.84°)
OKLaboklab(41.81% -0.005 -0.1253)
OKLCHoklch(41.81% 0.125 267.7)
XYZxyz(8.3948, 6.9975, 27.2884)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4690 #90792F
analogous
#2F7790 #2F4690 #482F90
triadic
#2F4690 #902F46 #46902F
tetradic
#2F4690 #902F77 #90792F #2F9048
square
#2F4690 #902F77 #90792F #2F9048
split-complementary
#2F4690 #90482F #77902F
monochromatic
#111934 #203062 #2F4690 #3E5CBE #6B82CF

Accessibility & contrast

On white

8.75
#2F4690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F4690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4690
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4690#FFFFFF#000000##FFFFFF
##2F46901.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F93
Deuteranopia (green-blind)
#00478E
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4690;
/* rgb */ color: rgb(47, 70, 144);
/* oklch */ color: oklch(41.8% 0.125 267.7);
Tailwind
colors: {
  custom: {
    50: '#7379b1',
    500: '#2f4690',
    950: '#000000',
  },
}
SCSS
$custom: #2f4690;
$custom-light: #7379b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4690",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 144
  },
  "hsl": {
    "h": 225.773,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.12536,
    "h": 267.7
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#2F4690
secondary
#B6A365
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2F4690

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

Preview Lab → · Contrast checker → · Palette generator →

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