#02313A#02313A

#02313A is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.9% C 0.049 H 214.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#02313A
RGBrgb(2, 49, 58)
HSLhsl(190, 93%, 12%)
HSVhsv(190, 97%, 23%)
CMYKcmyk(96.6%, 15.5%, 0%, 77.3%)
CIE-LABlab(17.99, -11.11, -9.97)
CIE-LCHlch(17.99, 14.93, 221.92°)
OKLaboklab(28.86% -0.0408 -0.0279)
OKLCHoklch(28.86% 0.049 214.4)
XYZxyz(1.8867, 2.5148, 4.3881)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02313A #3A0B02
analogous
#023A27 #02313A #02153A
triadic
#02313A #3A0231 #313A02
tetradic
#02313A #27023A #3A0B02 #153A02
square
#02313A #27023A #3A0B02 #153A02
split-complementary
#02313A #3A0215 #3A2702
monochromatic
#01191E #01191E #02313A #046375 #0695B0

Accessibility & contrast

On white

13.97
#02313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#02313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02313A
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02313A#FFFFFF#000000##FFFFFF
##02313A1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3B
Deuteranopia (green-blind)
#232A3A
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #02313a;
/* rgb */ color: rgb(2, 49, 58);
/* oklch */ color: oklch(28.9% 0.049 214.4);
Tailwind
colors: {
  custom: {
    50: '#4f6970',
    500: '#02313a',
    950: '#000000',
  },
}
SCSS
$custom: #02313a;
$custom-light: #4f6970;
$custom-dark: #000000;
JSON
{
  "hex": "#02313a",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 189.643,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28856,
    "c": 0.04941,
    "h": 214.4
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#02313A
secondary
#7D2A1A
accent
#4B29FF
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #02313A

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

Preview Lab → · Contrast checker → · Palette generator →

#02313A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva