#1F468B#1F468B

#1F468B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.123 H 260.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#1F468B
RGBrgb(31, 70, 139)
HSLhsl(218, 64%, 33%)
HSVhsv(218, 78%, 55%)
CMYKcmyk(77.7%, 49.6%, 0%, 45.5%)
CIE-LABlab(30.72, 12.24, -42.38)
CIE-LCHlch(30.72, 44.12, 286.11°)
OKLaboklab(40.68% -0.0197 -0.1217)
OKLCHoklch(40.68% 0.123 260.8)
XYZxyz(7.4138, 6.5349, 25.2917)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F468B #8B641F
analogous
#1F7C8B #1F468B #2E1F8B
triadic
#1F468B #8B1F46 #468B1F
tetradic
#1F468B #8B1F7C #8B641F #1F8B2E
square
#1F468B #8B1F7C #8B641F #1F8B2E
split-complementary
#1F468B #8B2E1F #7C8B1F
monochromatic
#091427 #142D59 #1F468B #2A5FBD #4D7FD7

Accessibility & contrast

On white

9.10
#1F468B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F468B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F468B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F468B#FFFFFF#000000##FFFFFF
##1F468B1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f468b;
/* rgb */ color: rgb(31, 70, 139);
/* oklch */ color: oklch(40.7% 0.123 260.8);
Tailwind
colors: {
  custom: {
    50: '#6b78ad',
    500: '#1f468b',
    950: '#000000',
  },
}
SCSS
$custom: #1f468b;
$custom-light: #6b78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f468b",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 218.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40679,
    "c": 0.12333,
    "h": 260.8
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#1F468B
secondary
#BA924C
accent
#AB41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1F468B

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

Preview Lab → · Contrast checker → · Palette generator →

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