#0F2C5A#0F2C5A

#0F2C5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.090 H 259.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#0F2C5A
RGBrgb(15, 44, 90)
HSLhsl(217, 71%, 21%)
HSVhsv(217, 83%, 35%)
CMYKcmyk(83.3%, 51.1%, 0%, 64.7%)
CIE-LABlab(18.54, 8.10, -30.75)
CIE-LCHlch(18.54, 31.80, 284.76°)
OKLaboklab(30.03% -0.0165 -0.0883)
OKLCHoklch(30.03% 0.09 259.4)
XYZxyz(2.9425, 2.6408, 10.0255)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C5A #5A3D0F
analogous
#0F515A #0F2C5A #170F5A
triadic
#0F2C5A #5A0F2C #2C5A0F
tetradic
#0F2C5A #5A0F51 #5A3D0F #0F5A17
square
#0F2C5A #5A0F51 #5A3D0F #0F5A17
split-complementary
#0F2C5A #5A170F #515A0F
monochromatic
#040D1A #061226 #0F2C5A #18468E #205FC3

Accessibility & contrast

On white

13.74
#0F2C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C5A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C5A#FFFFFF#000000##FFFFFF
##0F2C5A1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2c5a;
/* rgb */ color: rgb(15, 44, 90);
/* oklch */ color: oklch(30.0% 0.090 259.4);
Tailwind
colors: {
  custom: {
    50: '#5b6489',
    500: '#0f2c5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c5a;
$custom-light: #5b6489;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c5a",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 216.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30034,
    "c": 0.08985,
    "h": 259.4
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#0F2C5A
secondary
#946E31
accent
#A83AEE
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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