#0F2A63#0F2A63

#0F2A63 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.106 H 262.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#0F2A63
RGBrgb(15, 42, 99)
HSLhsl(221, 74%, 22%)
HSVhsv(221, 85%, 39%)
CMYKcmyk(84.8%, 57.6%, 0%, 61.2%)
CIE-LABlab(18.62, 13.51, -36.58)
CIE-LCHlch(18.62, 38.99, 290.27°)
OKLaboklab(30.32% -0.0135 -0.1055)
OKLCHoklch(30.32% 0.106 262.7)
XYZxyz(3.2763, 2.6580, 12.1423)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A63 #63480F
analogous
#0F5463 #0F2A63 #1E0F63
triadic
#0F2A63 #630F2A #2A630F
tetradic
#0F2A63 #630F54 #63480F #0F631E
square
#0F2A63 #630F54 #63480F #0F631E
split-complementary
#0F2A63 #631E0F #54630F
monochromatic
#040B1B #07132E #0F2A63 #174198 #1F57CD

Accessibility & contrast

On white

13.71
#0F2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A63
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A63#FFFFFF#000000##FFFFFF
##0F2A631.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2a63;
/* rgb */ color: rgb(15, 42, 99);
/* oklch */ color: oklch(30.3% 0.106 262.7);
Tailwind
colors: {
  custom: {
    50: '#5d6390',
    500: '#0f2a63',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a63;
$custom-light: #5d6390;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a63",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 220.714,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30316,
    "c": 0.10637,
    "h": 262.7
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#0F2A63
secondary
#9C7A32
accent
#B537F0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0F2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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