#1F5EB3#1F5EB3

#1F5EB3 is a mid, vivid cyan. Relative luminance 0.116; OKLCH L 49.1% C 0.149 H 257.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#1F5EB3
RGBrgb(31, 94, 179)
HSLhsl(214, 70%, 41%)
HSVhsv(214, 83%, 70%)
CMYKcmyk(82.7%, 47.5%, 0%, 29.8%)
CIE-LABlab(40.49, 12.13, -50.69)
CIE-LCHlch(40.49, 52.12, 283.46°)
OKLaboklab(49.06% -0.0325 -0.1457)
OKLCHoklch(49.06% 0.149 257.4)
XYZxyz(12.7015, 11.5498, 44.1990)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5EB3 #B3741F
analogous
#1FA8B3 #1F5EB3 #2A1FB3
triadic
#1F5EB3 #B31F5E #5EB31F
tetradic
#1F5EB3 #B31FA8 #B3741F #1FB32A
square
#1F5EB3 #B31FA8 #B3741F #1FB32A
split-complementary
#1F5EB3 #B32A1F #A8B31F
monochromatic
#0D274B #16437F #1F5EB3 #337BDC #689DE5

Accessibility & contrast

On white

6.34
#1F5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#1F5EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5EB3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5EB3#FFFFFF#000000##FFFFFF
##1F5EB31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f5eb3;
/* rgb */ color: rgb(31, 94, 179);
/* oklch */ color: oklch(49.1% 0.149 257.4);
Tailwind
colors: {
  custom: {
    50: '#748bca',
    500: '#1f5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #1f5eb3;
$custom-light: #748bca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5eb3",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 214.459,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.14927,
    "h": 257.4
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#1F5EB3
secondary
#CA9F64
accent
#A13BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1F5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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