#2F3773#2F3773

#2F3773 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.102 H 274.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2F3773
RGBrgb(47, 55, 115)
HSLhsl(233, 42%, 32%)
HSVhsv(233, 59%, 45%)
CMYKcmyk(59.1%, 52.2%, 0%, 54.9%)
CIE-LABlab(25.49, 16.11, -35.75)
CIE-LCHlch(25.49, 39.21, 294.26°)
OKLaboklab(36.38% 0.0079 -0.1021)
OKLCHoklch(36.38% 0.102 274.4)
XYZxyz(5.6320, 4.5741, 16.8024)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3773 #736B2F
analogous
#2F5973 #2F3773 #492F73
triadic
#2F3773 #732F37 #37732F
tetradic
#2F3773 #732F59 #736B2F #2F7349
square
#2F3773 #732F59 #736B2F #2F7349
split-complementary
#2F3773 #73492F #59732F
monochromatic
#0B0D1C #1D2248 #2F3773 #414C9E #5F6ABE

Accessibility & contrast

On white

10.97
#2F3773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F3773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3773
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3773#FFFFFF#000000##FFFFFF
##2F37731.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#0E3A72
Tritanopia (blue-blind)
#07444F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3773;
/* rgb */ color: rgb(47, 55, 115);
/* oklch */ color: oklch(36.4% 0.102 274.4);
Tailwind
colors: {
  custom: {
    50: '#6e6d9c',
    500: '#2f3773',
    950: '#000000',
  },
}
SCSS
$custom: #2f3773;
$custom-light: #6e6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3773",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 115
  },
  "hsl": {
    "h": 232.941,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.10244,
    "h": 274.4
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#2F3773
secondary
#A49B5A
accent
#C356D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #2F3773

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

Preview Lab → · Contrast checker → · Palette generator →

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