#1F358C#1F358C

#1F358C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.147 H 267.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1F358C
RGBrgb(31, 53, 140)
HSLhsl(228, 64%, 34%)
HSVhsv(228, 78%, 55%)
CMYKcmyk(77.9%, 62.1%, 0%, 45.1%)
CIE-LABlab(25.95, 24.38, -50.74)
CIE-LCHlch(25.95, 56.29, 295.66°)
OKLaboklab(37.1% -0.0062 -0.1466)
OKLCHoklch(37.1% 0.147 267.6)
XYZxyz(6.5702, 4.7302, 25.3726)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F358C #8C761F
analogous
#1F6B8C #1F358C #3F1F8C
triadic
#1F358C #8C1F35 #358C1F
tetradic
#1F358C #8C1F6B #8C761F #1F8C3F
square
#1F358C #8C1F6B #8C761F #1F8C3F
split-complementary
#1F358C #8C3F1F #6B8C1F
monochromatic
#090F28 #14225A #1F358C #2A48BE #4E6AD8

Accessibility & contrast

On white

10.79
#1F358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1F358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F358C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F358C#FFFFFF#000000##FFFFFF
##1F358C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f358c;
/* rgb */ color: rgb(31, 53, 140);
/* oklch */ color: oklch(37.1% 0.147 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#1f358c',
    950: '#000000',
  },
}
SCSS
$custom: #1f358c;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f358c",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 227.89,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37098,
    "c": 0.14675,
    "h": 267.6
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#1F358C
secondary
#BBA44C
accent
#C541E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1F358C

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

Preview Lab → · Contrast checker → · Palette generator →

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