#2F3285#2F3285

#2F3285 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.136 H 275.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2F3285
RGBrgb(47, 50, 133)
HSLhsl(238, 48%, 35%)
HSVhsv(238, 65%, 52%)
CMYKcmyk(64.7%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.50, 26.07, -47.08)
CIE-LCHlch(25.50, 53.82, 298.97°)
OKLaboklab(36.83% 0.0139 -0.1355)
OKLCHoklch(36.83% 0.136 275.8)
XYZxyz(6.5451, 4.5785, 22.7246)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3285 #85822F
analogous
#2F5D85 #2F3285 #572F85
triadic
#2F3285 #852F32 #32852F
tetradic
#2F3285 #852F5D #85822F #2F8557
square
#2F3285 #852F5D #85822F #2F8557
split-complementary
#2F3285 #85572F #5D852F
monochromatic
#0F102B #1F2158 #2F3285 #3F43B2 #6669C9

Accessibility & contrast

On white

10.96
#2F3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3285
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3285#FFFFFF#000000##FFFFFF
##2F32851.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3285;
/* rgb */ color: rgb(47, 50, 133);
/* oklch */ color: oklch(36.8% 0.136 275.8);
Tailwind
colors: {
  custom: {
    50: '#726aa9',
    500: '#2f3285',
    950: '#000000',
  },
}
SCSS
$custom: #2f3285;
$custom-light: #726aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3285",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 237.907,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.13623,
    "h": 275.8
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#2F3285
secondary
#B0AD60
accent
#D350D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3285

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

Preview Lab → · Contrast checker → · Palette generator →

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