#1F269C#1F269C

#1F269C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.185 H 270.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#1F269C
RGBrgb(31, 38, 156)
HSLhsl(237, 67%, 37%)
HSVhsv(237, 80%, 61%)
CMYKcmyk(80.1%, 75.6%, 0%, 38.8%)
CIE-LABlab(23.92, 40.03, -63.93)
CIE-LCHlch(23.92, 75.43, 302.05°)
OKLaboklab(36.1% 0.0005 -0.1852)
OKLCHoklch(36.1% 0.185 270.1)
XYZxyz(7.2569, 4.0770, 31.8505)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F269C #9C951F
analogous
#1F659C #1F269C #571F9C
triadic
#1F269C #9C1F26 #269C1F
tetradic
#1F269C #9C1F65 #9C951F #1F9C57
square
#1F269C #9C1F65 #9C951F #1F9C57
split-complementary
#1F269C #9C571F #659C1F
monochromatic
#0B0D36 #151A69 #1F269C #2932CF #585FDE

Accessibility & contrast

On white

11.57
#1F269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1F269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F269C
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F269C#FFFFFF#000000##FFFFFF
##1F269C1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f269c;
/* rgb */ color: rgb(31, 38, 156);
/* oklch */ color: oklch(36.1% 0.185 270.1);
Tailwind
colors: {
  custom: {
    50: '#7262ba',
    500: '#1f269c',
    950: '#000000',
  },
}
SCSS
$custom: #1f269c;
$custom-light: #7262ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f269c",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 236.64,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.361,
    "c": 0.18517,
    "h": 270.1
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#1F269C
secondary
#C1BB55
accent
#E03EEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1F269C

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

Preview Lab → · Contrast checker → · Palette generator →

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