#2F3085#2F3085

#2F3085 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.139 H 276.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2F3085
RGBrgb(47, 48, 133)
HSLhsl(239, 48%, 35%)
HSVhsv(239, 65%, 52%)
CMYKcmyk(64.7%, 63.9%, 0%, 47.8%)
CIE-LABlab(24.99, 27.40, -47.92)
CIE-LCHlch(24.99, 55.20, 299.76°)
OKLaboklab(36.45% 0.0157 -0.138)
OKLCHoklch(36.45% 0.139 276.5)
XYZxyz(6.4615, 4.4112, 22.6967)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3085 #85842F
analogous
#2F5B85 #2F3085 #592F85
triadic
#2F3085 #852F30 #30852F
tetradic
#2F3085 #852F5B #85842F #2F8559
square
#2F3085 #852F5B #85842F #2F8559
split-complementary
#2F3085 #85592F #5B852F
monochromatic
#0F0F2B #1F2058 #2F3085 #3F40B2 #6667C9

Accessibility & contrast

On white

11.16
#2F3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3085
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3085#FFFFFF#000000##FFFFFF
##2F30851.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f3085;
/* rgb */ color: rgb(47, 48, 133);
/* oklch */ color: oklch(36.4% 0.139 276.5);
Tailwind
colors: {
  custom: {
    50: '#7268a9',
    500: '#2f3085',
    950: '#000000',
  },
}
SCSS
$custom: #2f3085;
$custom-light: #7268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3085",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 239.302,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.13887,
    "h": 276.5
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#2F3085
secondary
#B0AF60
accent
#D650D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3085

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

Preview Lab → · Contrast checker → · Palette generator →

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