#1F349B#1F349B

#1F349B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.168 H 268.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#1F349B
RGBrgb(31, 52, 155)
HSLhsl(230, 67%, 36%)
HSVhsv(230, 80%, 61%)
CMYKcmyk(80%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.05, 30.84, -58.16)
CIE-LCHlch(27.05, 65.83, 297.93°)
OKLaboklab(38.33% -0.0059 -0.1684)
OKLCHoklch(38.33% 0.168 268)
XYZxyz(7.7074, 5.1130, 31.5847)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F349B #9B861F
analogous
#1F729B #1F349B #481F9B
triadic
#1F349B #9B1F34 #349B1F
tetradic
#1F349B #9B1F72 #9B861F #1F9B48
square
#1F349B #9B1F72 #9B861F #1F9B48
split-complementary
#1F349B #9B481F #729B1F
monochromatic
#0B1235 #152368 #1F349B #2945CE #576EDD

Accessibility & contrast

On white

10.38
#1F349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1F349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F349B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F349B#FFFFFF#000000##FFFFFF
##1F349B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f349b;
/* rgb */ color: rgb(31, 52, 155);
/* oklch */ color: oklch(38.3% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#716bb9',
    500: '#1f349b',
    950: '#000000',
  },
}
SCSS
$custom: #1f349b;
$custom-light: #716bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f349b",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 229.839,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38331,
    "c": 0.16846,
    "h": 268
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#1F349B
secondary
#C1AF55
accent
#CD3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1F349B

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

Preview Lab → · Contrast checker → · Palette generator →

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