#1F2A93#1F2A93

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

Color values

HEX#1F2A93
RGBrgb(31, 42, 147)
HSLhsl(234, 65%, 35%)
HSVhsv(234, 79%, 58%)
CMYKcmyk(78.9%, 71.4%, 0%, 42.4%)
CIE-LABlab(23.85, 34.36, -58.53)
CIE-LCHlch(23.85, 67.87, 300.42°)
OKLaboklab(35.76% 0 -0.1695)
OKLCHoklch(35.76% 0.169 270)
XYZxyz(6.6577, 4.0531, 28.0295)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2A93 #93881F
analogous
#1F6493 #1F2A93 #4E1F93
triadic
#1F2A93 #931F2A #2A931F
tetradic
#1F2A93 #931F64 #93881F #1F934E
square
#1F2A93 #931F64 #93881F #1F934E
split-complementary
#1F2A93 #934E1F #64931F
monochromatic
#0A0D2E #141C60 #1F2A93 #2A38C6 #525FDA

Accessibility & contrast

On white

11.60
#1F2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1F2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2A93
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2A93#FFFFFF#000000##FFFFFF
##1F2A931.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f2a93;
/* rgb */ color: rgb(31, 42, 147);
/* oklch */ color: oklch(35.8% 0.169 270.0);
Tailwind
colors: {
  custom: {
    50: '#7064b4',
    500: '#1f2a93',
    950: '#000000',
  },
}
SCSS
$custom: #1f2a93;
$custom-light: #7064b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2a93",
  "rgb": {
    "r": 31,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 234.31,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35758,
    "c": 0.16946,
    "h": 270
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#1F2A93
secondary
#BEB350
accent
#D840E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1F2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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