#0F2A62#0F2A62

#0F2A62 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.105 H 262.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#0F2A62
RGBrgb(15, 42, 98)
HSLhsl(220, 73%, 22%)
HSVhsv(220, 85%, 38%)
CMYKcmyk(84.7%, 57.1%, 0%, 61.6%)
CIE-LABlab(18.54, 13.07, -36.06)
CIE-LCHlch(18.54, 38.35, 289.93°)
OKLaboklab(30.23% -0.0136 -0.104)
OKLCHoklch(30.23% 0.105 262.5)
XYZxyz(3.2288, 2.6389, 11.8921)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A62 #62470F
analogous
#0F5462 #0F2A62 #1E0F62
triadic
#0F2A62 #620F2A #2A620F
tetradic
#0F2A62 #620F54 #62470F #0F621E
square
#0F2A62 #620F54 #62470F #0F621E
split-complementary
#0F2A62 #621E0F #54620F
monochromatic
#040B1B #07132D #0F2A62 #174197 #1F57CC

Accessibility & contrast

On white

13.75
#0F2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A62
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A62#FFFFFF#000000##FFFFFF
##0F2A621.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2a62;
/* rgb */ color: rgb(15, 42, 98);
/* oklch */ color: oklch(30.2% 0.105 262.5);
Tailwind
colors: {
  custom: {
    50: '#5d638f',
    500: '#0f2a62',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a62;
$custom-light: #5d638f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a62",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 220.482,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30227,
    "c": 0.10486,
    "h": 262.5
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#0F2A62
secondary
#9B7932
accent
#B438F0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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