#0F2A60#0F2A60

#0F2A60 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.102 H 262.2°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#0F2A60
RGBrgb(15, 42, 96)
HSLhsl(220, 73%, 22%)
HSVhsv(220, 84%, 38%)
CMYKcmyk(84.4%, 56.3%, 0%, 62.4%)
CIE-LABlab(18.37, 12.20, -35.00)
CIE-LCHlch(18.37, 37.07, 289.22°)
OKLaboklab(30.05% -0.0138 -0.1009)
OKLCHoklch(30.05% 0.102 262.2)
XYZxyz(3.1355, 2.6016, 11.4010)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A60 #60450F
analogous
#0F5360 #0F2A60 #1D0F60
triadic
#0F2A60 #600F2A #2A600F
tetradic
#0F2A60 #600F53 #60450F #0F601D
square
#0F2A60 #600F53 #60450F #0F601D
split-complementary
#0F2A60 #601D0F #53600F
monochromatic
#040C1A #07132B #0F2A60 #174195 #2058CA

Accessibility & contrast

On white

13.81
#0F2A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A60
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A60#FFFFFF#000000##FFFFFF
##0F2A601.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043162
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2a60;
/* rgb */ color: rgb(15, 42, 96);
/* oklch */ color: oklch(30.1% 0.102 262.2);
Tailwind
colors: {
  custom: {
    50: '#5c638e',
    500: '#0f2a60',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a60;
$custom-light: #5c638e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a60",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 220,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30051,
    "c": 0.10181,
    "h": 262.2
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#0F2A60
secondary
#997732
accent
#B238F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2A60

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

Preview Lab → · Contrast checker → · Palette generator →

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