#2F2594#2F2594

#2F2594 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.172 H 277.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2F2594
RGBrgb(47, 37, 148)
HSLhsl(245, 60%, 36%)
HSVhsv(245, 75%, 58%)
CMYKcmyk(68.2%, 75%, 0%, 42%)
CIE-LABlab(23.89, 39.42, -59.04)
CIE-LCHlch(23.89, 70.99, 303.73°)
OKLaboklab(36.09% 0.0221 -0.1706)
OKLCHoklch(36.09% 0.172 277.4)
XYZxyz(7.1774, 4.0650, 28.4176)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2594 #8A9425
analogous
#255394 #2F2594 #672594
triadic
#2F2594 #942F25 #25942F
tetradic
#2F2594 #942553 #8A9425 #259467
square
#2F2594 #942553 #8A9425 #259467
split-complementary
#2F2594 #946725 #539425
monochromatic
#100D32 #1F1963 #2F2594 #3F31C5 #685DD6

Accessibility & contrast

On white

11.58
#2F2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2594
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2594#FFFFFF#000000##FFFFFF
##2F25941.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2594;
/* rgb */ color: rgb(47, 37, 148);
/* oklch */ color: oklch(36.1% 0.172 277.4);
Tailwind
colors: {
  custom: {
    50: '#7661b5',
    500: '#2f2594',
    950: '#000000',
  },
}
SCSS
$custom: #2f2594;
$custom-light: #7661b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2594",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 245.405,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.17199,
    "h": 277.4
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#2F2594
secondary
#B3BB59
accent
#E345D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2594

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

Preview Lab → · Contrast checker → · Palette generator →

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