#1F2C90#1F2C90

#1F2C90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.163 H 269.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1F2C90
RGBrgb(31, 44, 144)
HSLhsl(233, 65%, 34%)
HSVhsv(233, 78%, 56%)
CMYKcmyk(78.5%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.02, 31.96, -56.39)
CIE-LCHlch(24.02, 64.82, 299.54°)
OKLaboklab(35.79% -0.0007 -0.1632)
OKLCHoklch(35.79% 0.163 269.7)
XYZxyz(6.4981, 4.1056, 26.8301)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C90 #90831F
analogous
#1F6590 #1F2C90 #4B1F90
triadic
#1F2C90 #901F2C #2C901F
tetradic
#1F2C90 #901F65 #90831F #1F904B
square
#1F2C90 #901F65 #90831F #1F904B
split-complementary
#1F2C90 #904B1F #65901F
monochromatic
#090D2B #141D5E #1F2C90 #2A3BC2 #5060D9

Accessibility & contrast

On white

11.53
#1F2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1F2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2C90
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2C90#FFFFFF#000000##FFFFFF
##1F2C901.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f2c90;
/* rgb */ color: rgb(31, 44, 144);
/* oklch */ color: oklch(35.8% 0.163 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f65b2',
    500: '#1f2c90',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c90;
$custom-light: #6f65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c90",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 233.097,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3579,
    "c": 0.16323,
    "h": 269.7
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#1F2C90
secondary
#BCB04E
accent
#D440E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1F2C90

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

Preview Lab → · Contrast checker → · Palette generator →

#1F2C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva