#2F3A90#2F3A90

#2F3A90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.141 H 272.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3A90
RGBrgb(47, 58, 144)
HSLhsl(233, 51%, 37%)
HSVhsv(233, 67%, 56%)
CMYKcmyk(67.4%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.49, 24.73, -49.03)
CIE-LCHlch(28.49, 54.92, 296.76°)
OKLaboklab(39.33% 0.0064 -0.1412)
OKLCHoklch(39.33% 0.141 272.6)
XYZxyz(7.7177, 5.6434, 27.0627)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A90 #90852F
analogous
#2F6A90 #2F3A90 #552F90
triadic
#2F3A90 #902F3A #3A902F
tetradic
#2F3A90 #902F6A #90852F #2F9055
square
#2F3A90 #902F6A #90852F #2F9055
split-complementary
#2F3A90 #90552F #6A902F
monochromatic
#111534 #202762 #2F3A90 #3E4DBE #6B76CF

Accessibility & contrast

On white

9.86
#2F3A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F3A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A90
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A90#FFFFFF#000000##FFFFFF
##2F3A901.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f3a90;
/* rgb */ color: rgb(47, 58, 144);
/* oklch */ color: oklch(39.3% 0.141 272.6);
Tailwind
colors: {
  custom: {
    50: '#7470b1',
    500: '#2f3a90',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a90;
$custom-light: #7470b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a90",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 233.196,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.14131,
    "h": 272.6
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#2F3A90
secondary
#B6AD65
accent
#CA4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2F3A90

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

Preview Lab → · Contrast checker → · Palette generator →

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