#0F2A64#0F2A64

#0F2A64 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.108 H 262.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#0F2A64
RGBrgb(15, 42, 100)
HSLhsl(221, 74%, 23%)
HSVhsv(221, 85%, 39%)
CMYKcmyk(85%, 58%, 0%, 60.8%)
CIE-LABlab(18.70, 13.94, -37.10)
CIE-LCHlch(18.70, 39.63, 290.59°)
OKLaboklab(30.4% -0.0134 -0.107)
OKLCHoklch(30.4% 0.108 262.9)
XYZxyz(3.3244, 2.6772, 12.3957)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A64 #64490F
analogous
#0F5564 #0F2A64 #1E0F64
triadic
#0F2A64 #640F2A #2A640F
tetradic
#0F2A64 #640F55 #64490F #0F641E
square
#0F2A64 #640F55 #64490F #0F641E
split-complementary
#0F2A64 #641E0F #55640F
monochromatic
#040B1B #07142F #0F2A64 #174099 #1F57CE

Accessibility & contrast

On white

13.68
#0F2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A64
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A64#FFFFFF#000000##FFFFFF
##0F2A641.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2a64;
/* rgb */ color: rgb(15, 42, 100);
/* oklch */ color: oklch(30.4% 0.108 262.9);
Tailwind
colors: {
  custom: {
    50: '#5e6391',
    500: '#0f2a64',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a64;
$custom-light: #5e6391;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a64",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 220.941,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30405,
    "c": 0.10787,
    "h": 262.9
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#0F2A64
secondary
#9D7B32
accent
#B637F1
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #0F2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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