#2F3E90#2F3E90

#2F3E90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.136 H 271.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2F3E90
RGBrgb(47, 62, 144)
HSLhsl(231, 51%, 37%)
HSVhsv(231, 67%, 56%)
CMYKcmyk(67.4%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.57, 22.04, -47.29)
CIE-LCHlch(29.57, 52.17, 294.99°)
OKLaboklab(40.13% 0.0027 -0.136)
OKLCHoklch(40.13% 0.136 271.1)
XYZxyz(7.9273, 6.0625, 27.1326)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E90 #90812F
analogous
#2F6E90 #2F3E90 #512F90
triadic
#2F3E90 #902F3E #3E902F
tetradic
#2F3E90 #902F6E #90812F #2F9051
square
#2F3E90 #902F6E #90812F #2F9051
split-complementary
#2F3E90 #90512F #6E902F
monochromatic
#111634 #202A62 #2F3E90 #3E52BE #6B7ACF

Accessibility & contrast

On white

9.49
#2F3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F3E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E90
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E90#FFFFFF#000000##FFFFFF
##2F3E901.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f3e90;
/* rgb */ color: rgb(47, 62, 144);
/* oklch */ color: oklch(40.1% 0.136 271.1);
Tailwind
colors: {
  custom: {
    50: '#7373b1',
    500: '#2f3e90',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e90;
$custom-light: #7373b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e90",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 230.722,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.13602,
    "h": 271.1
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#2F3E90
secondary
#B6A965
accent
#C54EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2F3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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