#0F2A53#0F2A53

#0F2A53 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.082 H 258.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#0F2A53
RGBrgb(15, 42, 83)
HSLhsl(216, 69%, 19%)
HSVhsv(216, 82%, 33%)
CMYKcmyk(81.9%, 49.4%, 0%, 67.5%)
CIE-LABlab(17.37, 6.52, -27.95)
CIE-LCHlch(17.37, 28.70, 283.13°)
OKLaboklab(28.97% -0.0159 -0.0801)
OKLCHoklch(28.97% 0.082 258.7)
XYZxyz(2.5857, 2.3817, 8.5054)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A53 #53380F
analogous
#0F4C53 #0F2A53 #160F53
triadic
#0F2A53 #530F2A #2A530F
tetradic
#0F2A53 #530F4C #53380F #0F5316
square
#0F2A53 #530F4C #53380F #0F5316
split-complementary
#0F2A53 #53160F #4C530F
monochromatic
#050D1A #06101F #0F2A53 #184487 #225EBB

Accessibility & contrast

On white

14.22
#0F2A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A53
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A53#FFFFFF#000000##FFFFFF
##0F2A531.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E55
Deuteranopia (green-blind)
#062852
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2a53;
/* rgb */ color: rgb(15, 42, 83);
/* oklch */ color: oklch(29.0% 0.082 258.7);
Tailwind
colors: {
  custom: {
    50: '#596384',
    500: '#0f2a53',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a53;
$custom-light: #596384;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a53",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 83
  },
  "hsl": {
    "h": 216.176,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28969,
    "c": 0.08169,
    "h": 258.7
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#0F2A53
secondary
#8D6831
accent
#A63CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2A53

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

Preview Lab → · Contrast checker → · Palette generator →

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