#0F2A58#0F2A58

#0F2A58 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.089 H 260.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#0F2A58
RGBrgb(15, 42, 88)
HSLhsl(218, 71%, 20%)
HSVhsv(218, 83%, 35%)
CMYKcmyk(83%, 52.3%, 0%, 65.5%)
CIE-LABlab(17.74, 8.71, -30.71)
CIE-LCHlch(17.74, 31.92, 285.84°)
OKLaboklab(29.37% -0.015 -0.0882)
OKLCHoklch(29.37% 0.09 260.4)
XYZxyz(2.7858, 2.4617, 9.5590)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A58 #583D0F
analogous
#0F4F58 #0F2A58 #180F58
triadic
#0F2A58 #580F2A #2A580F
tetradic
#0F2A58 #580F4F #583D0F #0F5818
square
#0F2A58 #580F4F #583D0F #0F5818
split-complementary
#0F2A58 #58180F #4F580F
monochromatic
#040C1A #061124 #0F2A58 #18438C #215CC1

Accessibility & contrast

On white

14.07
#0F2A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F2A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A58
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A58#FFFFFF#000000##FFFFFF
##0F2A581.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F5A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2a58;
/* rgb */ color: rgb(15, 42, 88);
/* oklch */ color: oklch(29.4% 0.089 260.4);
Tailwind
colors: {
  custom: {
    50: '#5a6387',
    500: '#0f2a58',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a58;
$custom-light: #5a6387;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a58",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 217.808,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.0895,
    "h": 260.4
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#0F2A58
secondary
#926E31
accent
#AB3AEE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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