#2F3283#2F3283

#2F3283 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.133 H 276.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2F3283
RGBrgb(47, 50, 131)
HSLhsl(238, 47%, 35%)
HSVhsv(238, 64%, 51%)
CMYKcmyk(64.1%, 61.8%, 0%, 48.6%)
CIE-LABlab(25.33, 25.35, -46.10)
CIE-LCHlch(25.33, 52.61, 298.80°)
OKLaboklab(36.65% 0.0139 -0.1326)
OKLCHoklch(36.65% 0.133 276)
XYZxyz(6.4083, 4.5237, 22.0038)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3283 #83802F
analogous
#2F5C83 #2F3283 #562F83
triadic
#2F3283 #832F32 #32832F
tetradic
#2F3283 #832F5C #83802F #2F8356
square
#2F3283 #832F5C #83802F #2F8356
split-complementary
#2F3283 #83562F #5C832F
monochromatic
#0F1029 #1F2156 #2F3283 #3F43B0 #6568C8

Accessibility & contrast

On white

11.02
#2F3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3283
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3283#FFFFFF#000000##FFFFFF
##2F32831.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3283;
/* rgb */ color: rgb(47, 50, 131);
/* oklch */ color: oklch(36.7% 0.133 276.0);
Tailwind
colors: {
  custom: {
    50: '#716aa8',
    500: '#2f3283',
    950: '#000000',
  },
}
SCSS
$custom: #2f3283;
$custom-light: #716aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3283",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 237.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.13336,
    "h": 276
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#2F3283
secondary
#AFAC5F
accent
#D251D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2F3283

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

Preview Lab → · Contrast checker → · Palette generator →

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