#2F3385#2F3385

#2F3385 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.135 H 275.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3385
RGBrgb(47, 51, 133)
HSLhsl(237, 48%, 35%)
HSVhsv(237, 65%, 52%)
CMYKcmyk(64.7%, 61.7%, 0%, 47.8%)
CIE-LABlab(25.76, 25.40, -46.66)
CIE-LCHlch(25.76, 53.13, 298.56°)
OKLaboklab(37.02% 0.0129 -0.1343)
OKLCHoklch(37.02% 0.135 275.5)
XYZxyz(6.5884, 4.6649, 22.7390)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3385 #85812F
analogous
#2F5E85 #2F3385 #562F85
triadic
#2F3385 #852F33 #33852F
tetradic
#2F3385 #852F5E #85812F #2F8556
square
#2F3385 #852F5E #85812F #2F8556
split-complementary
#2F3385 #85562F #5E852F
monochromatic
#0F102B #1F2258 #2F3385 #3F44B2 #666AC9

Accessibility & contrast

On white

10.86
#2F3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3385
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3385#FFFFFF#000000##FFFFFF
##2F33851.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3385;
/* rgb */ color: rgb(47, 51, 133);
/* oklch */ color: oklch(37.0% 0.135 275.5);
Tailwind
colors: {
  custom: {
    50: '#726aa9',
    500: '#2f3385',
    950: '#000000',
  },
}
SCSS
$custom: #2f3385;
$custom-light: #726aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3385",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 237.209,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37018,
    "c": 0.13489,
    "h": 275.5
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#2F3385
secondary
#B0AC60
accent
#D150D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3385

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

Preview Lab → · Contrast checker → · Palette generator →

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