#0F2A55#0F2A55

#0F2A55 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.085 H 259.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#0F2A55
RGBrgb(15, 42, 85)
HSLhsl(217, 70%, 20%)
HSVhsv(217, 82%, 33%)
CMYKcmyk(82.4%, 50.6%, 0%, 66.7%)
CIE-LABlab(17.52, 7.40, -29.06)
CIE-LCHlch(17.52, 29.99, 284.28°)
OKLaboklab(29.13% -0.0155 -0.0834)
OKLCHoklch(29.13% 0.085 259.4)
XYZxyz(2.6641, 2.4131, 8.9179)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A55 #553A0F
analogous
#0F4D55 #0F2A55 #170F55
triadic
#0F2A55 #550F2A #2A550F
tetradic
#0F2A55 #550F4D #553A0F #0F5517
square
#0F2A55 #550F4D #553A0F #0F5517
split-complementary
#0F2A55 #55170F #4D550F
monochromatic
#050D1A #061021 #0F2A55 #184489 #215DBD

Accessibility & contrast

On white

14.16
#0F2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A55
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A55#FFFFFF#000000##FFFFFF
##0F2A551.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132E57
Deuteranopia (green-blind)
#032854
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2a55;
/* rgb */ color: rgb(15, 42, 85);
/* oklch */ color: oklch(29.1% 0.085 259.4);
Tailwind
colors: {
  custom: {
    50: '#596385',
    500: '#0f2a55',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a55;
$custom-light: #596385;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a55",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 216.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29128,
    "c": 0.08482,
    "h": 259.4
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#0F2A55
secondary
#8F6B31
accent
#A83BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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