#2F3A93#2F3A93

#2F3A93 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.146 H 272.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2F3A93
RGBrgb(47, 58, 147)
HSLhsl(233, 52%, 38%)
HSVhsv(233, 68%, 58%)
CMYKcmyk(68%, 60.5%, 0%, 42.4%)
CIE-LABlab(28.74, 25.83, -50.48)
CIE-LCHlch(28.74, 56.71, 297.10°)
OKLaboklab(39.58% 0.0064 -0.1454)
OKLCHoklch(39.58% 0.146 272.5)
XYZxyz(7.9500, 5.7363, 28.2864)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A93 #93882F
analogous
#2F6C93 #2F3A93 #562F93
triadic
#2F3A93 #932F3A #3A932F
tetradic
#2F3A93 #932F6C #93882F #2F9356
square
#2F3A93 #932F6C #93882F #2F9356
split-complementary
#2F3A93 #93562F #6C932F
monochromatic
#111536 #202865 #2F3A93 #3E4CC1 #6C77D0

Accessibility & contrast

On white

9.78
#2F3A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2F3A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A93
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A93#FFFFFF#000000##FFFFFF
##2F3A931.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f3a93;
/* rgb */ color: rgb(47, 58, 147);
/* oklch */ color: oklch(39.6% 0.146 272.5);
Tailwind
colors: {
  custom: {
    50: '#7470b3',
    500: '#2f3a93',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a93;
$custom-light: #7470b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a93",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 233.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39584,
    "c": 0.14557,
    "h": 272.5
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#2F3A93
secondary
#B7AE66
accent
#CB4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3A93

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

Preview Lab → · Contrast checker → · Palette generator →

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