#1F2CA0#1F2CA0

#1F2CA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.184 H 269.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#1F2CA0
RGBrgb(31, 44, 160)
HSLhsl(234, 68%, 37%)
HSVhsv(234, 81%, 63%)
CMYKcmyk(80.6%, 72.5%, 0%, 37.3%)
CIE-LABlab(25.65, 37.82, -63.51)
CIE-LCHlch(25.65, 73.92, 300.77°)
OKLaboklab(37.46% -0.0025 -0.184)
OKLCHoklch(37.46% 0.184 269.2)
XYZxyz(7.8087, 4.6298, 33.7330)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2CA0 #A0931F
analogous
#1F6DA0 #1F2CA0 #521FA0
triadic
#1F2CA0 #A01F2C #2CA01F
tetradic
#1F2CA0 #A01F6D #A0931F #1FA052
square
#1F2CA0 #A01F6D #A0931F #1FA052
split-complementary
#1F2CA0 #A0521F #6DA01F
monochromatic
#0B1039 #151E6D #1F2CA0 #293AD3 #5A68DF

Accessibility & contrast

On white

10.90
#1F2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1F2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2CA0
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2CA0#FFFFFF#000000##FFFFFF
##1F2CA01.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f2ca0;
/* rgb */ color: rgb(31, 44, 160);
/* oklch */ color: oklch(37.5% 0.184 269.2);
Tailwind
colors: {
  custom: {
    50: '#7366bd',
    500: '#1f2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #1f2ca0;
$custom-light: #7366bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2ca0",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 233.953,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.18401,
    "h": 269.2
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#1F2CA0
secondary
#C3B858
accent
#D93DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1F2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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