#0F2C64#0F2C64

#0F2C64 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.105 H 261.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#0F2C64
RGBrgb(15, 44, 100)
HSLhsl(220, 74%, 23%)
HSVhsv(220, 85%, 39%)
CMYKcmyk(85%, 56%, 0%, 60.8%)
CIE-LABlab(19.32, 12.46, -36.10)
CIE-LCHlch(19.32, 38.19, 289.05°)
OKLaboklab(30.87% -0.015 -0.104)
OKLCHoklch(30.87% 0.105 261.8)
XYZxyz(3.3971, 2.8226, 12.4199)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C64 #64470F
analogous
#0F5764 #0F2C64 #1C0F64
triadic
#0F2C64 #640F2C #2C640F
tetradic
#0F2C64 #640F57 #64470F #0F641C
square
#0F2C64 #640F57 #64470F #0F641C
split-complementary
#0F2C64 #641C0F #57640F
monochromatic
#040C1B #07152F #0F2C64 #174399 #1F5BCE

Accessibility & contrast

On white

13.42
#0F2C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C64
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C64#FFFFFF#000000##FFFFFF
##0F2C641.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043366
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2c64;
/* rgb */ color: rgb(15, 44, 100);
/* oklch */ color: oklch(30.9% 0.105 261.8);
Tailwind
colors: {
  custom: {
    50: '#5d6491',
    500: '#0f2c64',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c64;
$custom-light: #5d6491;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c64",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 219.529,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30874,
    "c": 0.10512,
    "h": 261.8
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#0F2C64
secondary
#9D7832
accent
#B137F1
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #0F2C64

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

Preview Lab → · Contrast checker → · Palette generator →

#0F2C64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva