#1F2BA9#1F2BA9

#1F2BA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.196 H 269.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#1F2BA9
RGBrgb(31, 43, 169)
HSLhsl(235, 69%, 39%)
HSVhsv(235, 82%, 66%)
CMYKcmyk(81.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(26.40, 41.62, -67.73)
CIE-LCHlch(26.40, 79.50, 301.57°)
OKLaboklab(38.28% -0.0033 -0.1963)
OKLCHoklch(38.28% 0.196 269)
XYZxyz(8.5879, 4.8826, 38.0182)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2BA9 #A99D1F
analogous
#1F70A9 #1F2BA9 #581FA9
triadic
#1F2BA9 #A91F2B #2BA91F
tetradic
#1F2BA9 #A91F70 #A99D1F #1FA958
square
#1F2BA9 #A91F70 #A99D1F #1FA958
split-complementary
#1F2BA9 #A9581F #70A91F
monochromatic
#0C1142 #161E75 #1F2BA9 #2D3CD8 #606CE2

Accessibility & contrast

On white

10.62
#1F2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1F2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2BA9
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2BA9#FFFFFF#000000##FFFFFF
##1F2BA91.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f2ba9;
/* rgb */ color: rgb(31, 43, 169);
/* oklch */ color: oklch(38.3% 0.196 269.0);
Tailwind
colors: {
  custom: {
    50: '#7565c4',
    500: '#1f2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #1f2ba9;
$custom-light: #7565c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2ba9",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 234.783,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.19629,
    "h": 269
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#1F2BA9
secondary
#C7BD5D
accent
#DD3CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1F2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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